Skip to content

Commit a8ba17b

Browse files
committed
fix
1 parent 7685b1d commit a8ba17b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/configuration/ReactiveConnectionPoolTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
import org.hibernate.engine.jdbc.internal.JdbcServicesImpl;
1414
import org.hibernate.engine.jdbc.spi.JdbcServices;
15+
import org.hibernate.engine.jdbc.spi.SqlExceptionHelper;
1516
import org.hibernate.engine.jdbc.spi.SqlStatementLogger;
1617
import org.hibernate.reactive.containers.DatabaseConfiguration;
1718
import org.hibernate.reactive.pool.ReactiveConnectionPool;
@@ -64,6 +65,11 @@ private ReactiveConnectionPool configureAndStartPool(Map<String, Object> config)
6465
public SqlStatementLogger getSqlStatementLogger() {
6566
return new SqlStatementLogger();
6667
}
68+
69+
@Override
70+
public SqlExceptionHelper getSqlExceptionHelper() {
71+
return new SqlExceptionHelper( true );
72+
}
6773
} );
6874
DefaultSqlClientPool reactivePool = new DefaultSqlClientPool();
6975
reactivePool.injectServices( registryExtension.getServiceRegistry() );

0 commit comments

Comments
 (0)