Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Error preallocating sequence numbers. The sequence table information

  Asked By: Ronnie    Date: Aug 20    Category: Java    Views: 7860
  

Does anybody know why I am getting that error?

Error preallocating sequence numbers. The sequence table information
is not complete.

I am using Java Persistence and the error occurs when inserting a new
record in a table which use an automatic key genereation.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Qadriyyah Malik     Answered On: Aug 20

Probably, You are using TopLink and Native Id generation.
Verify the data provided, especially the sequence  name used in TopLink.

 
Answer #2    Answered By: Terry Williams     Answered On: Aug 20

Fixed. I just missed to initialize my SEQUENCE_GENERATOR table  with a
valid for my GEN_KEY.