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,
|
List<String> creationStatements,
|
||||||
JdbcServices jdbcServices,
|
JdbcServices jdbcServices,
|
||||||
JdbcConnectionAccess connectionAccess) {
|
JdbcConnectionAccess connectionAccess) {
|
||||||
|
if ( creationStatements == null || creationStatements.isEmpty() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
Connection connection;
|
Connection connection;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue