Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
[b]Hibernate version: 3.0
Hi,
I already have a id field (primary key) mapped to sequence, and there is another property need to map to another sequence in oracle, how can I do that?
The "WarrantNum" is not a primary key, but it needs to map to an oracle sequence.
I can't put the <generator> inside <property> tag, what's my option?
<property name="WarrantNum" type="long">
<column name="WARRANT_NUM" length="22" not-null="true" sql-type="NUMBER" />
</property>
Thanks.
David