Accessing DOM4J session in Hibernate 4 and later
Issue
-
The code below is used with Hibernate 3 to obtain a DOM4J session using the legacy (non-JPA) Hibernate interface
Session dom4jSession = session.getSession(EntityMode.DOM4J); -
The code will not compile using Hibernate 4 or later
Environment
- JBoss Enterprise Application Platform (EAP) 6 or later
- Hibernate 4 or later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
