The moose likes Object Relational Mapping and the fly likes iBatis object relationships Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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 ]
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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: iBatis object relationships
 
Similar Threads
Tech Word Game
Object Diagram to Class Diagram transformation
Persisting A Parent/Child Structure
Question on Association mappings
iBatis and Caching