use of com.baeldung.jooq.introduction.ExceptionTranslator in project tutorials by eugenp.
the class InitialConfiguration method configuration.
public DefaultConfiguration configuration() {
DefaultConfiguration jooqConfiguration = new DefaultConfiguration();
jooqConfiguration.set(connectionProvider());
jooqConfiguration.set(new DefaultExecuteListenerProvider(new ExceptionTranslator()));
return jooqConfiguration;
}
Aggregations