-->
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: Implementing DB FKs after mapping (Oracle 11g)
PostPosted: Mon Nov 07, 2011 3:20 pm 
Newbie

Joined: Mon Nov 07, 2011 3:05 pm
Posts: 1
I am trying to determine the impact of implementing FKs within the database (Oracle 11g) after the Hibernate object relational mappings have been created. The relationships were supposedly already correctly mapped within Hibernate. The situation stems from an implementation inconsistency - most FKs (~500) were implemented within the database, but at some phase of the project the team stopped implementing FKs within the database. At the present time ~200 FKs remain unimplemented, but documented (column comments) within the database.

My present role is as DBA. I would like to implement these FKs within the database, but I have been lead to believe that implementing them now will break the application. I was specifically told that the application would not even start if I implemented the FKs, I am very skeptical.

I understand that there could be problems if the Hibernate relation mapping does not match to the FKs that would be implemented, but that would seem to me to cause run-time errors (SQLException?) of some sort.

Can anyone explain the real impact of implementing the FKs now?

Thanks for your time.


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.