File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Customzied OR Mapping" Watch "Customzied OR Mapping" New topic

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:
subject: Customzied OR Mapping
It's not a secret anymore!