From: Larry Meadors <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [email protected] Subject: Re: Re: struts vs ibatis - Integer type Date: Fri, 6 May 2005 12:31:35 -0600
On 5/6/05, Lieven De Keyzer <[EMAIL PROTECTED]> wrote: > > > But as far is I see, when a Bean is constructed, an int property will > always > be 0, when not specified. So when I perform an insert through iBatis
Yes, int properties will always have a non-null value...if you need nullable
properties, you must use the Object wrappers instead (Integer instead of
int, etc...)
Ah, I see.
SQLmaps, this beanproperty will always be an integer? Where exactly are the > commons classes needed and created ? > Perhaps I'm not really understanding the purpose of the ConvertUtils and > BeanUtils.
ConvertUtils and BeanUtils are not used in any way in iBATIS. Period.
I wasn't questioning your knowledge about the the iBatis framework. :)
I was just wondering about these classes because they were mentioned in an earlier mail.
Larry

