Emmanuel Bernard commented on an issue
Hibernate ORM / Improvement HHH-4360
@UniqueConstraint declaration is not friendly towards inheritance or reflection
The current way to define a composite unique constraint is limiting.

@Table(name="tbl_sky",
    uniqueConstraints = {@UniqueConstraint(columnNames={"month", "day"})}
)

Suppose I have an abstract base class called A that gives me Id and Name, subclassed by abstract class B that gives me Customer. Then I have many concrete classes that subclass B. For a...