A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Join Table In Hibernate
Joined: Mar 07, 2011
Apr 21, 2011 04:22:55
Actually I have create a table "Paper" which a join of two tables.
PaperInfo and questionbank
This paper table has field which are PaperInfoId and QuestionId which are primary key of table PaperInfo and questionbank tables respectively.
I generate POJO and mapping files with the help of reverse engg. file in netbeans.
But no class and hbm file is generate Paper Table.
Now I am confused how to fetch and store data in paper tables as there is no class and mapping file generated for the table...
Is there any way to work with a join table...?
Joined: Apr 19, 2011
Apr 23, 2011 14:53:26
would you please provide your sources. Without them it's hard to detect what's wrong.
Blackbelt on BlackBeltFactory.com
Joined: Nov 01, 2010
Apr 27, 2011 03:25:45
Kindly give Clarified information about your issue along With Code.
subject: Join Table In Hibernate
Is Nested Join possible, mapping a POJO to multiple tables.
One Mapping for two tables
hibernate reverse engineering
So much on the Left Joins in Hibernate
Problem with SQL query in Castor JDO
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014