Search in sources :

Example 1 with DialectAwareJooqConfiguration

use of org.jooq.impl.DialectAwareJooqConfiguration in project collect by openforis.

the class DbInitializer method start.

public void start() {
    DialectAwareJooqConfiguration jooqConf = new DialectAwareJooqConfiguration(connectionProvider);
    CollectDSLContext dslContext = new CollectDSLContext(jooqConf);
    if (!dslContext.isSchemaLess()) {
        createDbSchema();
    }
}
Also used : DialectAwareJooqConfiguration(org.jooq.impl.DialectAwareJooqConfiguration) CollectDSLContext(org.openforis.collect.persistence.jooq.CollectDSLContext)

Aggregations

DialectAwareJooqConfiguration (org.jooq.impl.DialectAwareJooqConfiguration)1 CollectDSLContext (org.openforis.collect.persistence.jooq.CollectDSLContext)1