[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6669) Manual SchemaExport broken due to temp code comments

Gail Badner (JIRA) noreply at atlassian.com
Wed Sep 21 21:45:36 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner updated HHH-6669:
-----------------------------

    Fix Version/s: 4.0.0.next

> 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

        


More information about the hibernate-issues mailing list