This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes problem in using composite key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "problem in using composite key" Watch "problem in using composite key" New topic

problem in using composite key

vishwas srivastava

Joined: Apr 20, 2012
Posts: 1
hi friend,
i m using composte key in this class but unable to find out where is the problem.
i have two table one is finyear and other is finyearperiods both contain two same coloum i.e
finyearid and help me to find out problem

rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 131

Welcome to the ranch.

Can you please give the exact error that you are getting.
Also, make yourself familiar with the various tags available.
I agree. Here's the link:
subject: problem in using composite key
Similar Threads
Auto Generator in composite key
Use of set tag in Hibernate mapping file for foreign key
Lazy loading issue with composite primary keys
Mapping For CompositeID
HBM mapping Problem