A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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
So much on the Left Joins in Hibernate
Is Nested Join possible, mapping a POJO to multiple tables.
One Mapping for two tables
Problem with SQL query in Castor JDO
hibernate reverse engineering
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014