Joined: Tue Nov 04, 2003 12:53 pm Posts: 3 Location: Washington, DC
|
Hey guys,
I was wondering if it was possible to specify an oracle sequence on a field that is not a primary key through Hibernate.
The docs indicate that you can only use the <generator> tags on <id> fields only. In my table, I have a <comp-id> of 6 different fields and another field (which is not a part of the <comp-id>) that relies on an Oracle sequence.
Any suggestions are welcome (even data model changes), but we can't change our data model so that our field with the sequence is the only primary key.
Thanks, Dan
|
|