Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Join Table In Hibernate

 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...?

Please advice....!!!

Thanks

 
Ramon Anger
Ranch Hand
Posts: 56
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prateek,

would you please provide your sources. Without them it's hard to detect what's wrong.

Regards,
Ramon
 
Viswanathan Ramamoorthy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kindly give Clarified information about your issue along With Code.
Visu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic