spring - Does the transactionManager close the statement atuomatically? -



spring - Does the transactionManager close the statement atuomatically? -

now using spring transactionmanager manager db transaction. since utilize connection pool hold connections, connection not closed. wonder if opended statement closed automatically after transaction failed , rollback?

we using c3p in our project maintain connection pool. have configuration in close connection after transaction completes.

<prop key="connection.release_mode">after_transaction</prop>

so transaction manager using?

spring aop

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -