Re: [ojb-users] Does OJB support "Aggregate object mappings"
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-05-31 09:25:24
|
Hi Stefan, Stefan Tamasi wrote: > Hello all. > > > > I am just evaluating OJB. Does it supports something like "Aggregate > object mappings" in Toplink. (Parent object owns referenced object, and > all referenced object attributes are mapped to the same table to which > parent object attributes are mapped). > Yes, that's possible. OJB provides "RowReaders" (http://objectbridge.sourceforge.net/tutorial3.html#rowreaders), that allow to build such aggregate mappings. It's not as elegant as with TopLink, but it will safe you a lot of money :-) See: http://objectbridge.sourceforge.net/tutorial3.html#rowreader-example for an example. cheers, Thomas > > > Thnx Stefan > |