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

ios - Fragment Shader GLSL for texture, color and texture/color -

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -