• Post Reply Bookmark Topic Watch Topic
  • New Topic

join two tables using jpa

 
anish reddy
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have two table namely student and library table and i want to perform join between them using Java annotaions ie (jpa)

Student fields are -sno,sname
library fields are -lno,lbookname

can any one give details about it

and how to use them in a main
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!