[ 
https://issues.apache.org/jira/browse/OPENJPA-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENJPA-2936.
---------------------------------------
    Fix Version/s: 4.1.1
         Assignee: Maxim Solodovnik
       Resolution: Fixed

> 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.0.1, 4.1.0
>            Reporter: Paulo Cristovão de Araújo Silva Filho
>            Assignee: Maxim Solodovnik
>            Priority: Major
>             Fix For: 4.1.1
>
>
> 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)

Reply via email to