hi,
> Why not just use Integer?
I think it is a little bit messy
to calculate the numeric property
when you use Integer because you
have to use Integer.intValue method.
Don't you think so?
> Why not just use Integer?
>
> Larry
>
>
> On 1/27/06, Toshiaki T
Hi,
You know, when you set resultClass properties to java primitive type
such as "int", NullPointerException occures if its corresponding Table
Column value is null.
You can suppress those Exception by setting "nullValue" property to
each column in SQL Map xml. But, it is very messy work.
S
the types are, and it can then tell your driver.
>
> I think that will fix it.
>
> Larry
>
>
> On 12/7/05, Toshiaki Takashima <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > > Larry
> >
> > thank for your response.
> >
> >
r occurred while applying a parameter map.
--- Check the insertBu-InlineParameterMap.
--- Check the parameter mapping for the 'name' property.
--- Cause: java.sql.SQLException: parameter number is wrong
Caused by: java.sql.SQLException: parameter number is wrong
thanks,
>
> La
Hi there
I defined sql Map definition for select statement
as follows :
SELECT
SEQNO as seqNo,
NAME as name
FROM testtable
WHERE
NME like #paraName#
This Statement works, but following insert statement
fails when null(java) value is specified to any paramet
Hello.
> ehm, I need to view this FAQ on the wiki but the link is broken...
I think you just use queryForMap() method instead of queryForList().
Also see Developer Guide.
thanks,
> ehm, I need to view this FAQ on the wiki but the link is broken...
>
> Anyone knows the content of this FAQ?
>
ad SQL Map XML by default encoding and ignore
XML encoding declaration "UTF-8".
Anyone knows how to specify character encoding of SQL Map XML
when iBATIS load those XML?
Thanks,
Toshiaki Takashima