From: <leg...@at...> - 2003-12-11 07:00:17
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-318 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-318 Summary: autocommit isn't always good Type: Improvement Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Versions: 2.1 beta 3 Assignee: Reporter: Zeehond Created: Mon, 8 Sep 2003 3:31 PM Updated: Thu, 11 Dec 2003 1:00 AM Environment: jboss 3.2.2, oracle 9i, jdk 1.4.2 Description: there are problems with .commit() calls in SchemaUpdate class if autocommit is already set to 'true' on connection, commit() calls cause exceptions the solution that works for me is to include commit() calls in the following condition if (!conn.getAutoCommit()) { conn.commit(); } --------------------------------------------------------------------- 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 |