public class GlueHibernateEntityModifier extends GlueActivity<GlueContext>
Activity Property - dao : (Çʼö) applicationContext.xmlÀÇ DAO id. Hibernate¿ë dao id¸¦ ÀÔ·ÂÇÑ´Ù. - entity-name : (Çʼö) Hibernate Entity nameÀ» ÁöÁ¤ÇÑ´Ù. - entity-id : (Çʼö) GlueContext¿¡¼ entityId°ªÀ» mappingÇÒ º¯¼ö¸í À§ÀÇ ¿¹¿¡¼ GlueContext¿¡ empno°¡ '7369'·Î ÁöÁ¤µÇ¾î ÀÖ´Ù¸é sample.vo.Employee °´Ã¼ Áß empno°¡ 7369ÀÎ °ÍÀ» ¼öÁ¤ ´ë»óÀ¸·Î ÇÑ´Ù. - entity-bindings : (¼±ÅÃ) entity property ¶Ç´Â id nameÀ» ctx¿¡ Á¸ÀçÇÏ´Â key¿Í mapping. entityÀÇ field¿¡ ´ëÀÀ µÇ´Â ctxÀÇ key°¡ ÀüºÎ °°Àº °æ¿ì¸¸ »ý·«ÇÑ´Ù(´ë¼Ò¹®ÀÚ ±¸ºÐ). entityÀÇ field¿¡ ´ëÀÀ µÇ´Â ctxÀÇ key°¡ ÀüºÎ °°Áö ¾ÊÀ» °æ¿ì, dataMapÀÌ º°µµ·Î »ý¼ºµÇ¹Ç·Î, ´ë»ó field ÀüºÎ¸¦ ±â¼úÇÑ´Ù. - flush : (¼±ÅÃ) default : false dao¸¦ ÅëÇÑ entity createÈÄ¿¡ flush ¸¦ ÇÒÁö ¸»Áö ¼³Á¤ÇÑ´Ù. - result-key : (¼±ÅÃ) Context¿¡ ´ã±â´Â Query ¼öÇà °á°ú Key. [ default ] : {entity-name}_resultList. ¼öÇà °á°ú´Â ValueObjectÀÇ ListÇüÅÂÀÌ´Ù. ¿¹Á¦»ç¿ë ¿¹# 1 »ç¿ë ¿¹# 2 Âü°í : hbm.xml
dynamicProperties, logger
Constructor and Description |
---|
GlueHibernateEntityModifier() |
Modifier and Type | Method and Description |
---|---|
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
public String runActivity(GlueContext ctx)
GlueActivity
runActivity
in class GlueActivity<GlueContext>
ctx
- GlueContext¿¹)==> return "success"À̸é BizLogic Activity ¸¦ ½ÇÇàÇÔ.
Copyright © 2013–2016 POSCO ICT. All rights reserved.