Advertisement

05.07.2008 at 05:40AM PDT, ID: 23382508
[x]
Attachment Details

In Hibernate, how to "add" missing foreign keys?

Asked by McJava1967 in Java Programming Language

Dear Experts,

I'm new to Hibernate.  The legacy db I'm working with is missing foreign keys.  (I guess that's not uncommon!)  I'd like to tell Hibernate to treat various tables as though they had foreign keys.  Could you folks tell me how to do that, or point me to good links?

Thanks!
McJava1967 Start Free Trial
[+][-]05.07.2008 at 02:30PM PDT, ID: 21520512

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Sign Up Now!
Solution Provided By: drazen_nikolic
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628