I'm trying to use a sequence defined by other user for key-generating, and hibernate can't find it. I checked where it looks and found it runs 'select sequence_name from user_sequences' and searches the list it creates from the ResultList (this SQL is defined in the dialect, in getQuerySequencesString method).
Can anyone tell me how can I use other user's sequences properly?
(If it matters, hibernate.hbm2ddl.auto is set to validate in my application).
Hibernate version:3.1
Name and version of the database you are using:oracle9i
|