ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon" <ibatis....@gmail.com>
Subject Re: nullValue in ResultMap simply does not work
Date Sat, 29 Sep 2007 09:55:25 GMT
Remove the AM !
I have used it without problem in Result and Parameter Map

<parameterMap id="EnfantsDossierSauver-params" class="Hashtable">
            <parameter property="DateNaissance" column="DateNaissance"
nullValue="01/01/0001 00:00:00" />
            <parameter property="LieuNaissance" column="LieuNaissance" />
....
<resultMap id="Dossier-result" class="Dossier">
            <result property="Id" column="Id" />
            <result property="DateSignature" column="DateSignature" />
            <result property="Commentaire" column="Commentaire" />
            <result property="DateTransmissionPrevue"
column="DateTransmissionPrevue" nullValue="01/01/0001 00:00:00" />
...

-- 
Cheers,
Gilles

<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

Mime
View raw message