why don't you just hard code it to some value .
Something like to_tsvector(' ',#item_name#).
Hope this helpsThanks Chetan On 2/15/08, oliverw <[EMAIL PROTECTED]> wrote: > > > <insert id="insertItemName" parameterClass="com.foo.bar.model.ItemName" > > INSERT INTO item_names (item_id, item_name, item_name_tsv, culture_id) > VALUES(#item_id#, #item_name#, to_tsvector(#ts_config#, #item_name#), > #culture_id# ) > </insert> > > In the above insert statement the #ts_config# is only needed as an > argument > to the to_tsvector() function call. Thus I would like to avoid making > ts_config a member of the ItemName bean. > > Unfortunately I am not sure how to pass the value of #ts_config# in > addition > to the ItemName object to the insert statement. Any suggestions? > -- > View this message in context: > http://www.nabble.com/Auxiliary-insert-parameter-tp15499629p15499629.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > >
