[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6669?page=c...
]
Gail Badner resolved HHH-6669.
------------------------------
Resolution: Fixed
Fixed in master.
Christian, thanks for finding this.
Manual SchemaExport broken due to temp code comments
----------------------------------------------------
Key: HHH-6669
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6669
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 4.0.0.CR3
Reporter: Christian Bauer
Assignee: Gail Badner
Priority: Minor
Fix For: 4.0.0.next
Commit introducing the problem: 88543c7a585dbafe6d2f5e2824a9754ec419655f
In ManagedProviderConnectionHelper.java:
public void prepare(boolean needsAutoCommit) throws SQLException {
/* TEMP TEMP TEMP
connectionProvider = ConnectionProviderBuilder.buildConnectionProvider();
connection = connectionProvider.getConnection();
if ( needsAutoCommit && !connection.getAutoCommit() ) {
connection.commit();
connection.setAutoCommit( true );
}
*/
}
This breaks "new SchemaExport(configuration)" calls.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira