Hmm, sounds like you amy have found a bug - that IMO should work as you describe.
On 7/18/05, Tom B. <[EMAIL PROTECTED]> wrote: > RE: BeanUtils: A nice, concise answer, you can't argue with that ;-) > > On a separate note, I'm poking around in the source code for the > answer to my own question... (so stop me if I've gone the wrong way) > > I'm trying to use an implicit SQL statement to map database values > into a *nested* bean: > > <select id="test" resultClass="foo"> > SELECT > 1 AS "nested.col1" > FROM > DUAL > </select> > > I notice that logic exists in ComplexBeanProbe that splits the target > property name on "." when defined as a map in the XML... That's all > good. > > I don't see the same logic in > sqlmap.engine.mapping.result.AutoResultMap ( I'm assuming this is the > class responsible for initializing implicit queries ;-)) > > I see the target class members being introspected by ClassInfo, those > members added to a hash, then the LITERAL column name returned by > ResultSetMetaData being searched for in that hash... (IE, we'd look > for a method named "nested.col1" in the method hash, when I really > want it to look for setNested().setCol1()). > > Am I barking up the wrong tree? =D > > Thanks, > Tom > > > > On 7/18/05, Larry Meadors <[EMAIL PROTECTED]> wrote: > > No. > > > > OK, that was the short answer. ;-) > > > > The long answer is that we are very reluctant to add dependencies that > > are not really required. > > > > Beside being a turd, the risk with bean-utils is that it is used by > > everything under the sun. If you update struts, you update bean-utils, > > and if it does not work with ibatis, you are screwed. :-/ > > > > Larry > > > > On 7/18/05, Tom B. <[EMAIL PROTECTED]> wrote: > > > Are there any plans to integrate Commons BeanUtils/PropertyUtils > > > classes into iBatis, as opposed to using the Probe classes? > > >