Open
Description
Celerio version: 3.0.108
The Column annotation used to retrieve unique keys is being retrieved from the class, instead of the method:
com.vathys.mcbackend.repository.support.JpaUniqueUtil.validateSimpleUniqueConstraintsDefinedOnMethods(Identifiable<?>entity)
for (Method method : entityClass.getMethods()) {
Column column = entityClass.getAnnotation(Column.class);
if (column != null && column.unique()) {
but it should be:
Column column = method.getAnnotation(Column.class);
Metadata
Metadata
Assignees
Labels
No labels