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 Gilles Schlienger <s_...@yahoo.com> on 2008/06/25 10:56:52 UTC
Remove/trim spaces from generated SQL requests
Hello,
I can see in the logs that the SQL requests generated by iBATIS (2.3.0.677) have a lot of spaces between some elements of the request.
I feel it might be keeping blanks from the XML sql_map file ...?
Would there be a way to "trim" these requests to have more readable logs please ?
Thanks a lot in advance
Regards
Gilles
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
Re: Remove/trim spaces from generated SQL requests
Posted by Gwyn Evans <gw...@gmail.com>.
Simplest way is surely to not to have the spaces in the sql in the first
place?
/Gwyn
On Wed, Jun 25, 2008 at 9:56 AM, Gilles Schlienger <s_...@yahoo.com>
wrote:
> Hello,
>
> I can see in the logs that the SQL requests generated by iBATIS (2.3.0.677)
> have a lot of spaces between some elements of the request.
>
> I feel it might be keeping blanks from the XML sql_map file ...?
> Would there be a way to "trim" these requests to have more readable logs
> please ?
>
> Thanks a lot in advance
> Regards
> Gilles
>
>
>
>
> _____________________________________________________________________________
> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
> http://mail.yahoo.fr
>