File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
Object Relational Mapping
How to configure a foreign key
Joined: Feb 24, 2007
Jun 03, 2008 02:05:00
I'm new to Hibernate, I want to know how to configure xml file for reference key/foreign key.
Joined: Apr 14, 2004
Jun 03, 2008 02:24:00
Please check your
Joined: Mar 02, 2005
Jun 03, 2008 03:35:00
You have to use the mapping elements (one-to-one, one-to-many etc) in the hbm.xml configuration file. For more details check the Hibernate site, hibernate.org.
I agree. Here's the link:
subject: How to configure a foreign key
Game on SQL
how to represent foreign key erd
Hibernate problem - creating duplicate foreign key index
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015