Hibernate 4: no EntityMode.DOM4J? no dom4j export? -


with hibernate 3 able export xml data using session entitymode.dom4j:

session session = sessionfactory.getcurrentsession(); org.hibernate.session dom4jsession = session.getsession(entitymode.dom4j); ... 

today tried hibernate 4. package org.hibernate.classic empty , there's no dom4j in entitymode anymore. tried setting property "hibernate.default_entity_mode" "dom4j", refers same error above (caused by: java.lang.illegalargumentexception: no enum const class org.hibernate.entitymode.dom4j).

is still possible use dom4j xml serialization hibernate 4? or missing else?

thank you

that feature experimental , has been removed. allowing such thing, more allowing "marshallers" passed in. if feel working on that, contact dev team on hibernate-dev mailing list.

this feature removed in hibernate 4. sadly, documentation of hibernate 4 still describes feature way in hibernate 4.

is there other way have jpa , xml export/import without using additional jaxb annotations? maybe eclipselink has such feature?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -