Joined: Tue Apr 12, 2005 6:00 pm Posts: 4
|
I have 3 columns:
type
name
position
There are two unique constraints:
type and position
type and name
Is there a way to indicate that a unique-key takes part in multiple constraints?
something like:
<property name="name">
<column name="name" unique-key="nameTypeConstraint">
</property>
<property name="position">
<column name="position" unique-key="positionTypeConstraint">
</property>
<property name="type">
<column name="type" unique-key="nameTypeConstraint,positionTypeConstraint">
</property>
- Dave
|
|