-->
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: Absence of foreign keys enforced by the schema
PostPosted: Thu Mar 23, 2006 2:18 pm 
Newbie

Joined: Thu Jan 13, 2005 11:41 pm
Posts: 10
I have an existing J2EE application with an Oracle database.
The Oracle database is replicated. Due to replication and performance issues, not all tables have a foreign key constraint *even* though a record may refer to other records. They have a "logical" foreign key.

As I'm new to Hibernate, I would like to get some feedback on this issue (or non issue). I don't think the lack of foreign key constraints in the schema will make any difference. In a Hibernate entity xml file, I should just point to the column in the table which is the "logical" foreign key.
The fact that the database schema doesn't specify it is irrelevant.

Please confirm.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 23, 2006 2:52 pm 
Newbie

Joined: Tue Mar 21, 2006 1:42 pm
Posts: 14
Correct.

_________________
Mike Ringrose


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.