I'm not able to get SQLDialect.Oracle in the following version of jOOQ:
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
<version>3.17.8</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-meta-extensions</artifactId>
<version>3.17.8</version>
</dependency>
Connection connection = entityManager.unwrap(Connection.class);
DSLContext context = DSL.using(connection, SQLDialect.Oracle);
How can I add the Oracle dialect into my code? (Oracle is not found at all, but documentation insists that various version of Oracle are present.
If it is not available in Maven versions, then is there a way to use it in above version?
The
SQLDialect.ORACLEis available in the jOOQ Professional Edition and jOOQ Enterprise Edition, as listed here: https://www.jooq.org/download/#databasesIn order to use those editions, you have to switch your Maven
groupIdfrom:To this one, for example:
Available groupIds for the commercial editions include the following, as documented in the various Maven examples in the manual: