-->
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: Creating objects..
PostPosted: Tue May 31, 2005 10:58 am 
Newbie

Joined: Tue May 24, 2005 5:08 am
Posts: 6
Hi i only want to know one thing:
I have an Oracle existing database, an i want to use hibernate, i have mapped all the tables using hibernate synchronizer, but i want to know if i can create an object on a superior level that can group several tables.

An example:

diferents tables:
1.- User
2.- Address
3.- Contacts
4.- ........

And i want to create an object Person (for example), and when i save this object the mapping file save the data in the Correspondent table, i think i can do this with hibernate, but i only see a lot of tags and i am a bit confused.

<many-to-one .. <one-to-many... outer-join...bag...component name...discriminator

thanks and sorry for my english


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.