【问题标题】:JOOQ Setup Oracle with Maven Code GenerationJOOQ 使用 Maven 代码生成设置 Oracle
【发布时间】:2021-10-28 20:20:17
【问题描述】:

我正在尝试在 Maven 上使用 JOOQ 设置 Oracle 数据库以进行代码生成。 目前正在尝试与 Oracle 数据库 JDBC 连接。

https://www.jooq.org/doc/2.6/manual/code-generation/codegen-configuration/

以下来自资源的示例是 Postgresql。 Dependencies for Oracle 设置的语法是什么?

<dependencies>
    <dependency>
      <groupId>org.postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>9.4.1212</version>
    </dependency>
  </dependencies>

【问题讨论】:

  • 维护了一个列表here,您可以通过其中的链接查看组、工件和版本信息。还有一些注释here 可能会有所帮助。或者直接在 Maven 中查看,here

标签: java maven jdbc jooq


【解决方案1】:

新版本的 ojdbc 现在也在 Maven Central 上,例如

<dependency>
  <groupId>com.oracle.database.jdbc</groupId>
  <artifactId>ojdbc11</artifactId>
  <version>21.1.0.0</version>
</dependency>

Please refer to Oracle's documentation for more information.

【讨论】:

    猜你喜欢
    • 2016-06-12
    • 2017-12-08
    • 2019-03-27
    • 2020-08-12
    • 2020-07-26
    • 2014-09-09
    • 2017-12-03
    • 2017-08-13
    • 2020-01-23
    相关资源
    最近更新 更多