hi, i want to use a generator, that allready exists in my database. i defined the id in the maping document as sequence:
Code:
<id
name="personNo"
type="int"
column="PERSON_NO"
>
<generator class="sequence">
<param name="sequence">GEN_PERSON_ID</param>
</generator>
</id>
but everytime I start my project, hibernate tries to generate exactly this generator (but it cannot because I am using Firebird, I know the problems with metadata-update).
Code:
ERROR - Unsuccessful: create generator GEN_PERSON_ID
ERROR - GDS Exception. 335544351. unsuccessful metadata update
DEFINE GENERATOR failed
why does Hibernate cannot find the existing generator "GEN_PERSON_ID" and wants to create a new one? did I make a mistake?