-->
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: Inserting Object In ORM
PostPosted: Mon Jan 24, 2005 2:22 pm 
Newbie

Joined: Sun Jan 23, 2005 5:20 am
Posts: 1
Hi.
In entityBean when we want to save an Object we need to find all the object related to it. We do it by using findByPrimaryKey() method.
In hibernate we can create these related object and then put their id in them and save the object. I want to know this is a correct way in hibernate or not.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 24, 2005 8:59 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I suggest you read the online docs
http://www.hibernate.org/hib_docs/reference/en/html/

and then check out a few simple tutorials.


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.