Paulo Cristovão de Araújo Silva Filho created OPENJPA-2936: --------------------------------------------------------------
Summary: Usage of JPA @Index without name prevents creating schema and queries Key: OPENJPA-2936 URL: https://issues.apache.org/jira/browse/OPENJPA-2936 Project: OpenJPA Issue Type: Bug Affects Versions: 4.1.0, 4.0.1 Reporter: Paulo Cristovão de Araújo Silva Filho When a given entity has the {code:java} @Index(columnList="COL1, COL2"){code} annotation without giving a name, the schema generation or reflection fails due to the fact that the mappingtool is not able to define the given name. Tested on 4.0.1 and 4.1.0 changing {code}org.apache.openjpa.persistence.jdbc.annotations.EntityWithIndices{code} - adding an unnamed index. I will soon propose a fix in a PR. -- This message was sent by Atlassian Jira (v8.20.10#820010)