Hello Alejandro,
I think in case of presence of parameterMap and parameterClass one of
them is ignored, but don't know surely. Maybe other user can help you.
What ist the gain in reusing the parameterMap? Instead you can reuse
your class Person.
Why do you use the parameterMap? I've never used this attribute.
Ingmar
provide an instance of Person as parameter, witch contains the
values to store.
<update id="update1" parameterClass="Person">
UPDATE Person SET
name = #name:VARCHAR#,
lastname = #lastname:VARCHAR#
WHERE id = #id:INTEGER#
</update>
OK, but, what if I have defined a parameterMap for an <insert>? can't
reuse it for an <update> statement?