• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with accessing resultset from multiple tables

 
Angellika desai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.. my problem is that i have a query which has inner join connected with 5 tables in a databae..the result is to be fetched lyk one column from all of this tables...
my question is..How to get access to such a result?
can List be used or something else is needed?
if yes then how? please..reply
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could create a Class and map all the other tables in it.

JPA Mapping two Tables in one Class I show how to map two but you can map more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic