Id Generation With an Oracle Database Sequence Using JPA / JDeveloper 11g
Last updated on AUGUST 04, 2016
Applies to:Oracle TopLink - Version 10.1.3.1 to 10.1.3.5 [Release AS10gR3]
Oracle JDeveloper - Version 188.8.131.52.1 to 184.108.40.206.2 [Release Oracle11g]
Information in this document applies to any platform.
The following shows the steps required to setup a small demo using the Java Persistence API (JPA) within JDeveloper 11g for id generation using a database sequence. Many databases including Oracle's support an internal mechanism for id generation called sequences.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms