Sergey Parhomenko commented on an issue
Hibernate ORM / Bug HHH-8569
NullPointerException thrown for non-existing @UniqueConstraint column
Actual behavior:

When using a @UniqueConstraint with a column name that does not exist, Hibernate throws a NullPointerException:

java.lang.NullPointerException
at org.hibernate.mapping.Constraint$ColumnComparator.compare(Constraint.java:134)
at org.hibernate.mapping.Constraint$ColumnComparator.compare(Constraint.java:130)
at java.util.TimSort....