ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Error setting null values in dates
Date Mon, 07 Nov 2005 03:31:52 GMT
With all due respect, there is nothing right about the statement you've
posted...it has many problems, including incorrect types, missing quotes and
attributes that don't exist...

Try this:

<parameter
property="p_aci_fec_Infraccion"
jdbcType="DATETIME"
javaType="java.util.Date"
nullValue="2005/05/23"
/>

Clinton

On 11/3/05, wilberto <wilberto@ec-red.com> wrote:
>
> Hi I have a problem setting null values in dates. this is my code:
>
> <parameter property=p_aci_fec_Infraccion jdbcType=st_aci_fec_Infraccion
> javaType=java.util.Date nullValue="NUMERIC" null="0" mode=IN/>
>
> when i run the code i have this message:
>
> (Error) Attribute 'null' used but not declared.
>
> any idea about how solve the problem
>
> thank you very much
>
> Wilbert
> ---------------------------------------------------------------
> EC Red Internet gr@tis
> Inscríbete en www.ec-red.com <http://www.ec-red.com>
>

Mime
View raw message