-->
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: Can I retrieve POJOs (ORM Mapping ) from SessionFactory
PostPosted: Mon Sep 03, 2007 1:18 am 
Newbie

Joined: Fri Aug 31, 2007 2:30 am
Posts: 1
I am working on distribution environment and want to handle transactions between databases, I retrieve SessionFactory Object via JNDI but (as define hibernate site: http://www.hibernate.org/416.html)
I am confuse how to get ORM mapping object (POJOs) to perform DML operations …
Can I retrieve from SessionFactory or some other solution …?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 4:26 am 
Regular
Regular

Joined: Thu Oct 19, 2006 12:07 pm
Posts: 75
I'm not sure what exactly you mean, but look into the getClassMetadata() and getAllClassMetadata() methods of SessionFactory.


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.