HHH-13873 IdTableHelper can skip opening a connection when there's no statements to execute
This commit is contained in:
parent
1364929fe0
commit
28b8cebf9d
|
@ -61,6 +61,9 @@ public class IdTableHelper {
|
|||
List<String> creationStatements,
|
||||
JdbcServices jdbcServices,
|
||||
JdbcConnectionAccess connectionAccess) {
|
||||
if ( creationStatements == null || creationStatements.isEmpty() ) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
Connection connection;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue