Class GlueLazyDataSourceTransactionManager

All Implemented Interfaces:
GlueLazyTransactionManager, GlueTransactionManager, Serializable, InitializingBean, ConfigurableTransactionManager, PlatformTransactionManager, ResourceTransactionManager, TransactionManager

public class GlueLazyDataSourceTransactionManager extends GlueDataSourceTransactionManager implements GlueLazyTransactionManager
GlueLazyTransactionManager 구현체. 내부적으로 Spring Framework에서 제공하는 DataSourceTransactionManager를 상속받는다. GlueLazyDataSourceTransactionManager는 GlueLazyJdbcDao와 같이 사용된다.
 Bean Property

 - dataSource : (필수)

 - transactionDefinition : (선택)



 예제
 
 사용 예# 1

     <bean id="tx" class="com.poscoict.glueframework.transaction.GlueLazyDataSourceTransactionManager">
         <property name="dataSource" ref="dataSource"/>
     </bean>
     <bean id="dao" class="com.poscoict.glueframework.dao.jdbc.GlueLazyJdbcDao">
         <property name="dataSource" ref="dataSource"/>
         <property name="queryManager" ref="queryManager"/>
         <property name="fetchSize" value="100"/>
         <property name="countQuery" value="select count(*) from (${query})"/>
     </bean>
     <bean id="dataSource" class="...">
     </bean>
 
See Also: