Hi,
I'm experiencing problems with id generation. I'm using "sequence" (
http://www.hibernate.org/hib_docs/reference/en/html/mapping.html#mapping-declaration-id-generator), but when I save() a new object of the class, Hibernate tries to use hibernate_sequence.
Any ideas why?
Thanks,
merlyn
Outputs:
Code:
Hibernate: select hibernate_sequence.nextval from dual
Mapping file:Code:
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
...
<class ...>
<id ...>
<generator class="sequence">
<param name="sequence">ARSQUSUA</param>
</generator>
</id>
...
Hibernate version: 3.0.3