[jbosstools-issues] [JBoss JIRA] (JBIDE-15288) Invalid persistence.xml error when opening hibernate console for JPA 2.1 project

Koen Aers (JIRA) issues at jboss.org
Thu May 22 07:42:59 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-15288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969699#comment-12969699 ] 

Koen Aers commented on JBIDE-15288:
-----------------------------------

Unfortunately we will have to postpone this issue to 4.2.0.Beta3 as it needs a major refactoring of the hibernate tools codebase for which there was not enough time. For the time being, the exception is suppressed by a message announcing the fact that jpa 2.1 / hibernate 4.3 is not fully supported yet.

> Invalid persistence.xml error when opening hibernate console for JPA 2.1 project
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-15288
>                 URL: https://issues.jboss.org/browse/JBIDE-15288
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.1.0.CR1
>            Reporter: Jiri Peterka
>            Assignee: Koen Aers
>            Priority: Blocker
>             Fix For: 4.2.0.Beta3
>
>
> Error while expanding JPA project with JPA 2.1
> This works ok when JPA 2.0 is used
> {code}
> org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
> Could not create JPA based Configuration
>   <No message>
>   java.lang.reflect.InvocationTargetException
>     java.lang.reflect.InvocationTargetException: <no message>
>     java.lang.reflect.InvocationTargetException
>     javax.persistence.PersistenceException: Invalid persistence.xml.
> Error parsing XML (line-1 : column -1): cvc-elt.1: Cannot find the declaration of element 'persistence'.
>     Invalid persistence.xml.
> Error parsing XML (line-1 : column -1): cvc-elt.1: Cannot find the declaration of element 'persistence'.
> {code}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list