File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes POJO class and maaping document for the select query on multiple tables. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "POJO class and maaping document for the select query on multiple tables." Watch "POJO class and maaping document for the select query on multiple tables." New topic
Author

POJO class and maaping document for the select query on multiple tables.

Amit K Jain
Ranch Hand

Joined: Nov 06, 2008
Posts: 55
Hi,

I have to write a POJO class and the mapping document to retrieve the data from the select query. The select query has the constraints on multiple tables (around 6-7 tables).

I tried with putting the properties for all the fields used in the query and the corresponding properties in the POJO class.
However, I see the performance issue and it ends with Timeout.

Can someone please advise how to do it?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: POJO class and maaping document for the select query on multiple tables.
 
Similar Threads
unmapped entity
How to get the records from data base in chunk
Data fetch from multiple SQL tables
Problem with select query in hibernate
join two tables in hibernate