struts-user  

Re: [OT] "SELECT ... LIKE" with iBatis

Andy Engle
Fri, 26 Mar 2004 13:56:01 -0800

Ronald Rotteveel <[EMAIL PROTECTED]> wrote:

> Hi Andy,
> 
> we have a same kind of statement in our xml file and it looks like
> this:
>
> <mapped-statement name="statementName" result-map="result">
>  SELECT * FROM tbl_name WHERE column_name LIKE '%';
> </mapped-statement>

Right, but I was running into trouble with where to put my #value#. 
Did you have anything like that in there?  I tried stuff like
'%#value#%', %#value#%, and whatever else but it didn't seem to want to
do anything but sit there and look at me.


Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]