5.4.1.1 Oracle Graph Property Graph Java APIs
Oracle Graph property graph support provides database-specific APIs for Oracle Database.
To use the Oracle Spatial and Graph API, import the following classes into your Java program:
import oracle.pg.common.*; import oracle.pg.text.*; import oracle.pg.rdbms.*; import oracle.pg.rdbms.pgql.*; import oracle.pgx.config.*; import oracle.pgx.common.types.*;
To compile and run your Java applications, set your classpath to include the jar files in <client-install-dir>/lib/
.
For example:
javac -cp ".:<client-install-dir>/lib/*" Main.java
java -cp ".:<client-install-dir>/lib/*" Main
Parent topic: Overview of the Java APIs