|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.support.DefaultTransactionDefinition com.poscoict.glueframework.transaction.GlueDefaultTransactionDefinition
public class GlueDefaultTransactionDefinition
TransactionDefinition ÀÎÅÍÆäÀ̽ºÀÇ µðÆúÆ® ±¸Çö Ŭ·¡½º. µðÆúÆ®·Î ¼³Á¤µÇ´Â Æ®·£Àè¼Ç ÇÁ·ÎÆÛƼ °ª (PROPAGATION_REQUIRES_NEW, ISOLATION_DEFAULT, TIMEOUT_DEFAULT,
readOnly=false). org.springframework.transaction.support. DefaultTransactionDefinitionÀ» È®ÀåÇÑ°ÍÀ¸·Î propagationBehaviorÀÇ default °ªÀÌ
PROPAGATION_REQUIRED°¡ ¾Æ´Ñ PROPAGATION_REQUIRES_NEWÀÌ¸ç ±×¿Ü´Â µ¿ÀÏÇÏ´Ù.
ºó ½ºÅ¸ÀÏÀÇ ¼³Á¤À» Áö¿øÇÑ´Ù. (Dependency Injection)
µðÆúÆ®·Î Á¦°øµÇ´Â °ªÀ» ¼öÁ¤Çϱâ À§Çؼ´Â ´ÙÀ½°ú °°ÀÌ applicationContext.xml ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù.
timeoutÀº JDBCÀÇ Statement.setQueryTimeout(ÃÊ) ¼³Á¤ÀÔ´Ï´Ù. µðÆúÆ®´Â "-1"ÀÔ´Ï´Ù. "-1"ÀÌ¸é ¹«ÇÑ WaitingÀÌ°í Ç÷¯½º ¼ýÀÚ´Â ÇØ´ç Ãʸ¸Å Query¸¦ Waiting ÇÕ´Ï´Ù. JDBC¸¦ °ø±ÞÇÏ´Â º¥´õ¿Í ¹öÁ¯¿¡ µû¶ó µ¿ÀÛÇÒ ¼öµµ ¾ÈÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
Field Summary |
---|
Fields inherited from class org.springframework.transaction.support.DefaultTransactionDefinition |
---|
PREFIX_ISOLATION, PREFIX_PROPAGATION, PREFIX_TIMEOUT, READ_ONLY_MARKER |
Fields inherited from interface org.springframework.transaction.TransactionDefinition |
---|
ISOLATION_DEFAULT, ISOLATION_READ_COMMITTED, ISOLATION_READ_UNCOMMITTED, ISOLATION_REPEATABLE_READ, ISOLATION_SERIALIZABLE, PROPAGATION_MANDATORY, PROPAGATION_NESTED, PROPAGATION_NEVER, PROPAGATION_NOT_SUPPORTED, PROPAGATION_REQUIRED, PROPAGATION_REQUIRES_NEW, PROPAGATION_SUPPORTS, TIMEOUT_DEFAULT |
Constructor Summary | |
---|---|
GlueDefaultTransactionDefinition()
»ý¼ºÀÚ(constructor). |
|
GlueDefaultTransactionDefinition(org.springframework.transaction.TransactionDefinition txDef)
»ý¼ºÀÚ(constructor). |
Method Summary |
---|
Methods inherited from class org.springframework.transaction.support.DefaultTransactionDefinition |
---|
equals, getDefinitionDescription, getIsolationLevel, getName, getPropagationBehavior, getTimeout, hashCode, isReadOnly, setIsolationLevel, setIsolationLevelName, setName, setPropagationBehavior, setPropagationBehaviorName, setReadOnly, setTimeout, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GlueDefaultTransactionDefinition()
public GlueDefaultTransactionDefinition(org.springframework.transaction.TransactionDefinition txDef)
txDef
- TransactionDefinition ¿ÀºêÁ§Æ®
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |