[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2338) Hibernate 3.2.1 has a "rollback" after every "commit" statement when c3p0 is enabled

Lisa Balducci (JIRA) noreply at atlassian.com
Wed Jan 3 12:21:44 EST 2007


Hibernate 3.2.1 has a "rollback" after every "commit" statement when c3p0 is enabled 
-------------------------------------------------------------------------------------

         Key: HHH-2338
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2338
     Project: Hibernate3
        Type: Bug

    Versions: 3.2.1    
 Environment: Firebird 1.5.3, Hibernate 3.2.1 and c3p0-0.9.1-pre11.jar/c3p0-0.9.0.jar (tried each one)
    Reporter: Lisa Balducci


While using p6spy to observe sql statements I noticed, only while c3p0 is enabled, that after every statement/s there is a "commit" and  then immediately following a "rollback".  This does not occur with any other Hibernate versions only Hibernate 3.2.1, is this the correct behavior?     

01-03-2007 11:17:08|0|4|statement|.......... "the statement"  
01-03-2007 11:17:08|0|4|commit||
01-03-2007 11:17:08|0|4|rollback||
01-03-2007 11:17:07|0|3|statement|..........
01-03-2007 11:17:07|-1||resultset|.........
01-03-2007 11:17:07|0|3|commit||
01-03-2007 11:17:07|0|3|rollback||

c3p0 properties settings:
 
hibernate.c3p0.max_size = 10
hibernate.c3p0.min_size = 5
hibernate.c3p0.timeout = 1800

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list