diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java index f66ee0d39a..436570b7a2 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java @@ -148,7 +148,7 @@ public class JdbcCoordinatorImpl implements JdbcCoordinator { } public SqlExceptionHelper sqlExceptionHelper() { - return transactionEnvironment().getJdbcServices().getSqlExceptionHelper(); + return exceptionHelper; }