RE: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-08-04 Thread Philip, Anil - Kansas City, MO
: Commons Developers List Subject: Re: Commons Dbutils: Request feedback for possible patch; handling nested beans. It's not a bug though. No where in the documentation for your push mower does it say it won't split logs. dbutils is not a complete DAO solution, or an ORM tool, it's a fram

Re: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-23 Thread Liam Coughlin
; From: Dan Fabulich [mailto:d...@fabulich.com] > Sent: Wednesday, July 22, 2009 7:03 PM > To: Commons Developers List > Subject: RE: Commons Dbutils: Request feedback for possible patch; handling > nested beans. > > I share Liam's intuition that I don't think we need this. >

RE: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-23 Thread Philip, Anil - Kansas City, MO
rimitiveDefaults.get(propType); > } > this.callSetter(nestedBeanValue, property, targetValue); > } catch (Exception e) { > e.printStackTrace(); > throw new SQLException(e.getMessage());

RE: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-22 Thread Dan Fabulich
); } catch (Exception e) { e.printStackTrace(); throw new SQLException(e.getMessage()); } } return bean; } thanks, Anil Philip -Original Message- From: Liam Coughlin [mailto:lscough...@gmail.com] Sent: Wednesday

RE: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-22 Thread Philip, Anil - Kansas City, MO
ction, > "select face, activity from Mood", bh); > > Result: > Foo.bar is null and its fields are unpopulated. > > thanks, > Anil Philip > > -Original Message- > From: Dan Fabulich [mailto:d...@fabulich.com] > Sent: Tuesday, July 21, 2009 7:13 PM &g

Re: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-22 Thread Liam Coughlin
way: > QueryRunner runner = new QueryRunner(); > BeanHandler bh = new BeanHandler(Foo.class); > Foo foo = (Foo) runner.query(connection, >"select face, activity from Mood", bh); > > Result: > Foo.bar is null and its fields are unpopulated. > > thanks,

RE: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-22 Thread Philip, Anil - Kansas City, MO
r is null and its fields are unpopulated. thanks, Anil Philip -Original Message- From: Dan Fabulich [mailto:d...@fabulich.com] Sent: Tuesday, July 21, 2009 7:13 PM To: Commons Developers List Subject: Re: Commons Dbutils: Request feedback for possible patch; handling nested beans. Philip,

Re: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-21 Thread Dan Fabulich
Philip, Anil - Kansas City, MO wrote: We use dbutils in my team and found a problem when a bean has nested object references. The properties in the nested bean are obviously not filled in. File a bug with an example? I'm not sure I quite understand your scenario. http://issues.apache.org/

Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-21 Thread Philip, Anil - Kansas City, MO
Hi, We use dbutils in my team and found a problem when a bean has nested object references. The properties in the nested bean are obviously not filled in. I had an idea and implemented a possible fix that works. I would like to know before I submit a patch, whether it really is a solution or if t