You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Nathan Maves <Na...@Sun.COM> on 2006/01/12 20:47:14 UTC

Re: [Ibatisdb-developer] Re: Escape # in iBATIS

Whoops I sent it to the wrong alias :)


On Jan 12, 2006, at 12:40 PM, Nathan Maves wrote:

> Utkarsh,
>
> I have forwarded your email question to the new ibatis alias which  
> is now handled by apache.
>
>
> On Jan 11, 2006, at 7:33 PM, Utkkarsh wrote:
>
>> Hi Nathan,
>> You do replace it with ## and tha parser treats it like a #. I was  
>> facing the
>> same problem. It works fine as long as you dont use it within the  
>> <iterate> tag.
>>
>> I faced a problem in the  <iterate> tag. Within that the column  
>> name has a hash
>> and I cant figure out how to solve this problem
>> example shown below:
>>
>> <iterate prepend="AND" property="companyNo"
>>    open="(" close=")" conjunction="OR">
>>    COMP## = #companyNo[]#
>> </iterate>		
>>
>> Where COMP# is the actual column name. It seems logical that it  
>> would treat that
>> as a string. Maybe the taglib needs a little fix there to fix this  
>> problem.
>>
>> Would really appreciate if anybody has some input on this. That is  
>> if there is a
>> work around it. I definitely need to use the iterate tag.
>> Thanks
>> Utkarsh
>>
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through  
>> log files
>> for problems?  Stop!  Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the  web.  DOWNLOAD  
>> SPLUNK!
>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>> _______________________________________________
>> Ibatisdb-developer mailing list
>> Ibatisdb-developer@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ibatisdb-developer
>