-->
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: How java calls Hibernate??
PostPosted: Tue Mar 04, 2008 5:54 am 
Newbie

Joined: Tue Mar 04, 2008 5:30 am
Posts: 1
Hi call i need to retreive some details from DB for which iam using Hibernate. Can you pls tell me as how to invoke Hibernate from Java??

PLease, please requesting for quick reply.


Top
 Profile  
 
 Post subject: Re: How java calls Hibernate??
PostPosted: Tue Mar 04, 2008 11:55 am 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
graghuu wrote:
Hi call i need to retreive some details from DB for which iam using Hibernate. Can you pls tell me as how to invoke Hibernate from Java??

PLease, please requesting for quick reply.


you need to make a sessionfactory and then a session adn you are set. You can find more details on this in the documentation.


Farzad-


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.