ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter_Levin <petr.le...@gmail.com>
Subject Object AS references
Date Mon, 12 May 2008 17:28:30 GMT

AS I found (may be wrong) iBatis treat objects and so instantiate them as
Value-object.(not refference)
So how can I load tree. for example:

class Some
{
       string ID {get{...};set{...};}           
       Some Parent {get{...};set{...};}           
}

I dont want Mapper or who is ressponsible for this create new Instance of
object for Parrent but it should use
the instance allready created while loading.
And so on. A lot of cases when I need refference, but not value.
Who have some sugestions - wellcome - I would say "GREAT THANKS, AMIGO"  :-)
-- 
View this message in context: http://www.nabble.com/Object-AS-references-tp17189888p17189888.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


Mime
View raw message