ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro D. Garin" <aga...@gmail.com>
Subject <update> with parameterMap and parameterClass ?
Date Wed, 26 Nov 2008 12:27:22 GMT
Hello!

Could I use an <update> statement using a parameterMap and a parameterClass
? How to use a parameterClass property?

Example:

<update id="update1" parameterMap="personMap" parameterClass="Person">

UPDATE Person SET name=?,lastname=? WHERE id = (how to reference the value
from parameter class Person here?)

</update>

I can't found any examples of these case!

Thank you!
Regards,
Alejandro.

Mime
View raw message