Friday, December 27, 2013

org.hibernate.exception.SQLGrammarException: ORA-02289: sequence does not exist

ERROR: ORA-02289: sequence does not exist.
Exception in thread "main" org.hibernate.exception.SQLGrammarException: ORA-02289: sequence does not exist

Problem:   
The specified sequence does not exist, or the user does not have the required privilege to perform this operation.

Solution: 
Make sure the sequence name is correct, and that you have the right to perform the desired operation on this sequence.

CREATE SEQUENCE hibernate_sequence START WITH 1 INCREMENT BY 1 NOCYCLE;

0 comments: