public class GlueHibernateUpdate extends GlueActivity<GlueContext>
Activity Property - dao : (Çʼö) applicationContext.xmlÀÇ DAO id. Hibernate¿ë dao id¸¦ ÀÔ·ÂÇÑ´Ù. - entity-name : (Çʼö) Update ½Ã HQLÀÇ Entity nameÀ» ÁöÁ¤ÇÑ´Ù. named param¿¡ binding µÇ´Â °ªÀ» CastingÇÏ´Â ±Ù°Å°¡ µÈ´Ù.. - sql-key : (Çʼö) xxx-hquery.glue_sqlÀÇ query id. Hibernate¿ë Query(HQL)¸¦ ÁöÁ¤Çϸç, named query ÀÌ¿©¾ß ÇÑ´Ù. - result-key : (¼±ÅÃ) Context¿¡ ´ã±â´Â Query ¼öÇà °á°ú Key. [ default ] : {sql-key}_result. ¼öÇà °á°ú´Â ¼öÇà°Ç¼öÀÌ´Ù. - entity-bindings : (¼±ÅÃ) hqlÀÇ named param°ú mappingµÇ´Â entity property ¶Ç´Â id nameÀ» Á¤ÀÇÇÑ´Ù. hqlÀÇ named param°ú ´ëÀÀ µÇ´Â entityÀÇ property ¶Ç´Â id °¡ °°À» °æ¿ì »ý·«ÇÑ´Ù. named param¿¡ binding µÇ´Â °ªÀº entity fieldÀÇ typeÀ¸·Î Casting ÇÏ´Â ±Ù°Å°¡ µÈ´Ù. - param-bindings : (¼±ÅÃ) hqlÀÇ named param°ú binding¿¡ »ç¿ëµÇ´Â °ª°ú Mapping µÇ´Â Key. hqlÀÇ named param°ú ´ëÀÀ µÇ´Â ctxÀÇ key°¡ ÀüºÎ °°Àº °æ¿ì¸¸ »ý·«ÇÑ´Ù(´ë¼Ò¹®ÀÚ ±¸ºÐ). hqlÀÇ named param°ú ´ëÀÀ µÇ´Â ctxÀÇ key°¡ ÀüºÎ °°Áö ¾ÊÀ» °æ¿ì, binding data¸¦ À§ÇÑ º°µµÀÇ MapÀÌ »ý¼ºµÇ¹Ç·Î named param°ú ctx key°¡ °°Àº°Íµµ ±â¼úÇÑ´Ù. ¿¹Á¦»ç¿ë ¿¹# 1 »ç¿ë ¿¹# 2 - named paramÀÌ entitiyÀÇ property¿Í °°°í, ctx key¿Í °°Áö ¾ÊÀº °æ¿ì »ç¿ë ¿¹# 3 - named paramÀÌ entitiyÀÇ property¿Í °°Áö ¾Ê°í, ctx key¿Í °°Àº °æ¿ì »ç¿ë ¿¹# 4 - named paramÀÌ entitiyÀÇ property¿Í °°Áö ¾Ê°í, ctx key¿Í °°Áö ¾ÊÀº °æ¿ì Âü°í : {name}-hquery.glue_sql Âü°í : hbm.xml
dynamicProperties, logger
Constructor and Description |
---|
GlueHibernateUpdate() |
Modifier and Type | Method and Description |
---|---|
protected void |
preRunActivity(GlueContext ctx) |
String |
runActivity(GlueContext ctx)
Sub Class¿¡¼ ¹Ýµå½Ã ±¸ÇöÇÏ¿©¾ß ÇÏ´Â Abstract Method À̸ç ÀÌ Method´Â F/W¿¡¼ È£ÃâÇÑ´Ù.
|
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransition
protected void preRunActivity(GlueContext ctx)
public String runActivity(GlueContext ctx)
GlueActivity
runActivity
in class GlueActivity<GlueContext>
ctx
- GlueContext¿¹)==> return "success"À̸é BizLogic Activity ¸¦ ½ÇÇàÇÔ.
Copyright © 2013–2019 POSCO ICT. All rights reserved.