HHH-15550 New global and persistent temporary `create_tables` params
This commit is contained in:
parent
caaaa71ffd
commit
fe5fa5dce4
|
@ -59,6 +59,8 @@ public class GlobalTemporaryTableStrategy {
|
|||
return;
|
||||
}
|
||||
|
||||
prepared = true;
|
||||
|
||||
final ConfigurationService configService = mappingModelCreationProcess.getCreationContext()
|
||||
.getBootstrapContext()
|
||||
.getServiceRegistry().getService( ConfigurationService.class );
|
||||
|
@ -72,8 +74,6 @@ public class GlobalTemporaryTableStrategy {
|
|||
return;
|
||||
}
|
||||
|
||||
prepared = true;
|
||||
|
||||
log.debugf( "Creating global-temp ID table : %s", getTemporaryTable().getTableExpression() );
|
||||
|
||||
final TemporaryTableHelper.TemporaryTableCreationWork temporaryTableCreationWork = new TemporaryTableHelper.TemporaryTableCreationWork(
|
||||
|
@ -132,7 +132,10 @@ public class GlobalTemporaryTableStrategy {
|
|||
}
|
||||
catch (UnsupportedOperationException e) {
|
||||
// assume this comes from org.hibernate.engine.jdbc.connections.internal.UserSuppliedConnectionProviderImpl
|
||||
log.debugf( "Unable to obtain JDBC connection; unable to drop global-temp ID table : %s", getTemporaryTable().getTableExpression() );
|
||||
log.debugf(
|
||||
"Unable to obtain JDBC connection; unable to drop global-temp ID table : %s",
|
||||
getTemporaryTable().getTableExpression()
|
||||
);
|
||||
return;
|
||||
}
|
||||
catch (SQLException e) {
|
||||
|
|
|
@ -65,6 +65,8 @@ public abstract class PersistentTableStrategy {
|
|||
return;
|
||||
}
|
||||
|
||||
prepared = true;
|
||||
|
||||
final ConfigurationService configService = mappingModelCreationProcess.getCreationContext()
|
||||
.getBootstrapContext()
|
||||
.getServiceRegistry().getService( ConfigurationService.class );
|
||||
|
@ -78,8 +80,6 @@ public abstract class PersistentTableStrategy {
|
|||
return;
|
||||
}
|
||||
|
||||
prepared = true;
|
||||
|
||||
log.debugf( "Creating persistent ID table : %s", getTemporaryTable().getTableExpression() );
|
||||
|
||||
final TemporaryTableHelper.TemporaryTableCreationWork temporaryTableCreationWork = new TemporaryTableHelper.TemporaryTableCreationWork(
|
||||
|
|
Loading…
Reference in New Issue