This is an inline parameter mapping: <insert id="foo" parameterClass="Bar"> insert into foo (binaryField) values(#binaryField:BINARY#) </insert>
Setting the JDBC type to BINARY here will help if you ever need to set the field to NULL. If it won't ever be NULL, then you don't need the JDBC type (but it doesn't hurt to add it anyway). Jeff Butler On Tue, May 27, 2008 at 3:10 PM, Jonathan Alvarsson < [EMAIL PROTECTED]> wrote: > > On Tue, May 27, 2008 at 6:32 PM, Jeff Butler <[EMAIL PROTECTED]> > wrote: > >> Inline parameter mappings only - and only for NULL capable fields! I >> detest the XML parameter maps! :) >> > > huh which syntax would that be? I am not great at the lingo I feel... :) > > -- > // Jonathan