aspose file tools*
The moose likes Object Relational Mapping and the fly likes Customzied OR Mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Customzied OR Mapping" Watch "Customzied OR Mapping" New topic
Author

Customzied OR Mapping

Animesh Saxena
Ranch Hand

Joined: Jan 15, 2006
Posts: 62
In OR mapping is it possible to generate multiple table joins automatically.

I am not using any OR Mapping tool. I want to use XML file for listing out the relationships and the code (for Example A mapper class) can read this file and retrieve the objects from database.

Has anyone tried that?

Other open source tools like MyGeneration give only methods for single factory DAL and entity. When 5 or 6 tables come into picture I have to make multiple calls to database via Factory classes --DAL -- ENTITY Layer to get all the entities. I want to avoid that so when all the relationships are clear (or taken from XML File) then only the call to database is made.


Animesh Saxena<br /> <br />Open Source Developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Customzied OR Mapping
 
Similar Threads
J2EE and Oracle Cluster
Sample test question
Best Method to Read XML Schema
Do we have to hardcode the fields (order, index values) in the client
Hibernate/JSP: NoClassDefFoundError