Id Generation With an Oracle Database Sequence Using JPA / JDeveloper 11g

(Doc ID 805893.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle TopLink - Version to [Release AS10gR3]
Oracle JDeveloper - Version to [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