[jboss-user] [JBoss Tools] - Hibernate plugins are moved to newer Hibernate-core

Dmitry Geraskov do-not-reply at jboss.com
Thu Nov 18 04:15:54 EST 2010


Dmitry Geraskov [http://community.jboss.org/people/dgeraskov] created the document:

"Hibernate plugins are moved to newer Hibernate-core"

To view the document, visit: http://community.jboss.org/docs/DOC-16126

--------------------------------------------------------------
Hibernate plugins announced JPA 2.0 support in  http://docs.jboss.org/tools/whatsnew/hibernate/hibernate-news-3.4.0.M1.html 3.2.0.M1.html
But it was not full support of the JPA 2.0. It was just support of Dali plugins for JPA 2.0 with Hibernate
platform (read UI representation). Our users were not able to build Console Configuration based on the JPA 2.0
mapping.

Hibernate plugins had been using Hibernate-core 3.2 for years and JPA 2.0 support was added to Hibernate core
since version 3.5. This was the reason of our limitaition support.
But in 3.2.0.Beta2 we resolved the problem:
* Hibernate-tools-core was moved to Hibernate-core-3.5.6.Final
* Hibernate-tools-plugins were moved to new Hibernate-tools-core and Hibernate-core-3.5.6.Final.

*Now our users could be satisfied with JPA 2.0 support!*
Of course new Hibernate-tools-core also contains other improvements.
New version should be fully backward compatible. The only thing we noticed is that now you could not use
empty element <persistence>.

The workaround is pretty simple:

<persistence version="1.0" xmlns=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence                                  
 http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">

If you have any other problem, please report the problem to our  https://jira.jboss.org/browse/JBIDE jira.
--------------------------------------------------------------

Comment by going to Community
[http://community.jboss.org/docs/DOC-16126]

Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101118/42d27303/attachment.html 


More information about the jboss-user mailing list