-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: XML-Relational and JPA
PostPosted: Sun Aug 17, 2008 11:33 am 
Newbie

Joined: Sun Aug 17, 2008 11:23 am
Posts: 3
The new XML Mapping for Hibernate is great but it seems it only supports the XML mapping (*.hbm.xml). Is there a plan to expand it to include JPA?

Thanks.

Rodrigo


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 17, 2008 1:39 pm 
Newbie

Joined: Sun Aug 17, 2008 11:23 am
Posts: 3
Actually, I was just able to use my JPA mappings.

With this:

EntityManager em = emf.createEntityManager();
Session session = (Session) em.getDelegate();
Session dom4jSession = session.getSession(EntityMode.DOM4J);


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.