From: <leg...@at...> - 2003-09-11 09:54:28
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-322 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-322 Summary: C3P0 autocommit property Type: Patch Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: Craig Raw Created: Thu, 11 Sep 2003 4:54 AM Updated: Thu, 11 Sep 2003 4:54 AM Description: As discussed in the Hibernate forum, this allows the setting of a C3P0 property, c3p0.autoCommitOnClose, as described in the C3P0 javadoc for com.mchange.v2.c3p0.PoolConfig. If this property is not set to true, C3P0 will attempt to rollback any pending transactions on connection close. One would ordinarily call commit() on the connection before closing. In the case of mySQL however, autocommit is turned on by default, and calling commit() results in an exception. C3P0 must be instructed in this case not to rollback any pending transactions, which setting this property to true allows. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |