[jboss-jira] [JBoss JIRA] (DROOLS-1107) Upgrade to JPA 2.1 and Hibernate 5

Petar Tahchiev (JIRA) issues at jboss.org
Sun Mar 27 07:38:00 EDT 2016


Petar Tahchiev created DROOLS-1107:
--------------------------------------

             Summary: Upgrade to JPA 2.1 and Hibernate 5
                 Key: DROOLS-1107
                 URL: https://issues.jboss.org/browse/DROOLS-1107
             Project: Drools
          Issue Type: Enhancement
            Reporter: Petar Tahchiev
            Assignee: Mark Proctor


Hello,

my app is running with Hibernate5 and JPA2.1 and when I try to use latest {{drools-persistence-jpa}} I get this exception:

{code}
Caused by: java.lang.NoSuchMethodError: javax.persistence.CollectionTable.indexes()[Ljavax/persistence/Index;
	at org.hibernate.cfg.AnnotationBinder.bindJoinedTableAssociation(AnnotationBinder.java:2378)
	at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:2094)
	at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:906)
	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:733)

{code}

Hibernate5 is already stable. Please update to it.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list