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

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -