hi All,
I'm using MS-SQL server as the backend db with Spring 1.2.1 using the ibatis 2.0 data mapping layer.
I'm getting this error: "Object has been closed"
My transaction setting is:
I'm using the Commons DBCP BasicDataSource with the following settings:Code:<bean id="baseTransactionProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean" abstract="true"> <property name="transactionManager"><ref bean="transactionManager"/></property> <property name="transactionAttributes"> <props> <prop key="insert*">PROPAGATION_REQUIRED</prop> <prop key="update*">PROPAGATION_REQUIRED</prop> <prop key="*">PROPAGATION_REQUIRED</prop> </props> </property> </bean>
I'm using the branded OEM DataDirect jdbc drivers. Interestingly, when I revert to using the Inet sprinta2000.jar driver, I don't encounter this error.. any ideas?Code:# ---------- Data Source Pool Configuration -------------- emod.jdbc.datasource.initialSize=5 emod.jdbc.datasource.maxActive=20 emod.jdbc.datasource.maxIdle=10 emod.jdbc.datasource.maxWait=20000 emod.jdbc.datasource.poolPreparedStatements=false
Thanks


Reply With Quote