-->
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.  [ 3 posts ] 
Author Message
 Post subject: Associatons and missing foreign keys
PostPosted: Thu Apr 12, 2007 7:55 am 
Beginner
Beginner

Joined: Tue Mar 13, 2007 9:46 am
Posts: 20
I am implementing an application with Hibernate running towards an existing Oracle database. This database has no "physical" foreign key constraints defined, even if they logically exists.

Will I still be able to use the various associations in Hibernate (one-to-many etc), even if I there are no actual foreign keys defined in the database?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 24, 2007 3:16 pm 
Beginner
Beginner

Joined: Tue Mar 13, 2007 9:46 am
Posts: 20
Anyone who knows this?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 26, 2007 3:08 am 
Regular
Regular

Joined: Mon Mar 26, 2007 12:38 am
Posts: 119
Hi,
Yes. you can.
There is no binding between the two.
All we need is a way in which we can relate records at the database level.
-----------------------------------------------------
Rate the reply if you find it helpful


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.