-->
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.  [ 1 post ] 
Author Message
 Post subject: Object graph persistence
PostPosted: Thu May 05, 2005 4:47 pm 
Newbie

Joined: Tue Jul 13, 2004 11:51 am
Posts: 13
Hi, Just a quick question:

If I have say an object called AddressBook that contains Address objects, so we have

AddressBook has many Addresses ie 1 to 0..*

If i want to persist an AddressBook with Addresses do i need to

1) Persist the AddressBook first, then add new Addresses to it

2) Create a new AddresBook, add Addresses to it, then ask hibernate to persist it, ..

ie will hibernate persist thw whole object graph, or do i need to do them individually ?

Thanks
Votr


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

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.