jooq/jOOQ-examples/jOOQ-oracle-example
2023-12-15 17:16:27 +01:00
..
lib
src [jOOQ/jOOQ#14110] License header should use HTTPS rather than HTTP 2022-10-19 10:43:58 +02:00
.gitignore
LICENSE.txt [jOOQ/jOOQ#14110] License header should use HTTPS rather than HTTP 2022-10-19 10:43:58 +02:00
pom.xml Release 3.20.0-SNAPSHOT 2023-12-15 17:16:27 +01:00
README.md

Thanks for downloading jOOQ. Please visit http://www.jooq.org for more information.

This example doesn't run with the jOOQ Open Source Edition

Because this example is making use of the Oracle SQL dialect, it does not run with the jOOQ Open Source Edition, which does not support Oracle. In order to run this example, please get a commercial or trial distribution directly from: http://www.jooq.org/download.

Before you run this example, you will need to create the following user in your Oracle database:

C:\> sqlplus "/ as sysdba"

Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production

SQL> CREATE USER SP IDENTIFIED BY SP;

User created.

SQL> GRANT ALL PRIVILEGES TO SP;

Grant succeeded;

SQL> GRANT EXECUTE ON DBMS_AQ TO SP;

Grant succeeded;

SQL> GRANT EXECUTE ON DBMS_AQADM TO SP;

If you do not have the rights to create users, you can also change the user in config.properties and in db-oracle.sql.

To install and run this example, please use Maven and Java 8 to install the latest distribution of jOOQ Professional Edition:

$ pwd
/path/to/checkout/dir
$ ls
jOOQ jOOQ-meta jOOQ-codegen ...
$ mvn clean install
...
$ cd jOOQ-examples/jOOQ-oracle-example
...
$ cp /path/to/ojdbc6.jar lib
...
$ mvn clean install