ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: Nested Beans?
Date Thu, 07 Apr 2005 19:35:13 GMT
You can use '.'  (dot) notation. So, if you pass in Reservation as
your parameter class you can acess the device id with 'device.id'
(assuming 'id' is the name of your id propety in the Device class)

Brandon

On Apr 7, 2005 12:58 PM, Nic Werner <werner@sonoma.edu> wrote:
> Greetings,
>     The archives aren't searchable right now
> (http://incubator.apache.org/ibatis/site/mailinglists.html), so I have
> this question:
> 
> I have a Bean (Reservation), with another Bean (Device) inside it. My
> database just contains the DeviceID in the Reservation table - where/how
> can I use the getter inside the nestedbean to get this DeviceID out?
> 
> Thanks,
> 
> - Nic.
>

Mime
View raw message