Hi, I have the following setup:
Code:
@EmbeddableSuperclass
@Table(uniqueConstraints = @UniqueConstraint(columnNames = { "uuid", "revision" }))
public abstract class RevisionedObject extends BaseObject implements Cloneable {
...
}
and then a subclass:
Code:
@Entity
@Table(name = "atw_schedule")
public class Schedule extends RevisionedObject {
...
}
However, the unique constraint is not generated (the properties uuid and revision *are* generated).
Am I doing something wrong?
Hibernate version: 3.1rc1 (because I use annotations, and beta7 is not out yet)
Greetings,
Sebastiaan