File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with accessing resultset from multiple tables

 
Angellika desai
Greenhorn
Posts: 8
  • 0
  • 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
  • 0
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic