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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "iBatis object relationships" Watch "iBatis object relationships" New topic
Author

iBatis object relationships

Durgaprasad Guduguntla
Ranch Hand

Joined: Oct 20, 2003
Posts: 99
I am learning iBatis and found very interesting and simple. Does this framework support object relationships like one-one, one-many, many-many etc?


Thanks,<br />Durgaprasad<br />SCJP1.4, SCWCD1.4, SCBCD1.3,<br />SCEA
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Yes it does. There is documentation on the iBatis website that covers this in brief. I was told in another the thread the book covers this in depth.
[ December 08, 2006: Message edited by: Gregg Bolinger ]

GenRocket - Experts at Building Test Data
Durgaprasad Guduguntla
Ranch Hand

Joined: Oct 20, 2003
Posts: 99
I have downloaded the JPetStore application that explains iBatis implementation. It does not seem to support object relationships as is evident from the configuration files and the following code snippets. You need to explicitly make method calls to populate the objects.

[ December 08, 2006: Message edited by: Bear Bibeault ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Yes it does. Read this.
Durgaprasad Guduguntla
Ranch Hand

Joined: Oct 20, 2003
Posts: 99
Thanks for the link. Yes I see some examples showing up the object relationships.
 
Consider Paul's rocket mass heater.
 
subject: iBatis object relationships