Mantis - Resin
Viewing Issue Advanced Details
4926 feature always 01-18-12 12:34 04-10-12 18:55
cowan  
alex  
high  
closed 3.1.12  
fixed  
none    
none 3.1.13  
0004926: Database commit/rollback on max-active-time timeout
When a Connection is over max-active-time,
the Connection is closed without Commit or RollBack.
Therefore Connection.Close is dependent on the specification of JDBC.
In case of Oracle, it is Commit.

If you can, I want Resin to change like below.

Resin does Commit or RollBack before Connection.close
depended on Connection#getAutoCommit().

In other words,
in com.caucho.sql.ManagedConnectionImpl#destroy(),
1. check Connection.getAutoCommit()
2. do commit or rollback
3. PoolConnection#close() and Connection#close()
Rep by T. Fukuda

Customer requests change in Resin 3.1.x

Notes
(0005741)
alex   
04-10-12 18:55   
server/152n server/152o