Joined: Sun Jul 24, 2005 5:16 pm Posts: 1 Location: Estonia, Tallinn
|
When SQLException "Sequence is not found" occurs, it doesn't show name of sequence.
Particularly, I have found this line in Hibernate source code:
this.sequenceName = PropertiesHelper.getString(SEQUENCE, params, "hibernate_sequence");
Hibernate tries to find sequence "hibernate_sequence" which of couse doesn't exist in my database. It would be better if Hibernate figured out exact name of sequence.
Hibernate version: 3.0.5
Mapping documents:
The generated SQL (show_sql=true):
select hibernate_sequence.nextVal from dual
_________________ Andrei Solntsev,
Estonia, Tallinn
|
|