Re: logging sql statements

2009-12-14 Thread Clinton Begin
Perhaps no documentation on that subject, but Page 2 reads: *---* *Help make this documentation better… If you find this documentation lacking in any way, or missing documentation for a feature, then the best thing to do is learn about it and then write

Re: Null Pointer Exception on Malformed

2009-12-14 Thread Clinton Begin
Yep, bug. NPEs are always bugs -- we don't consider them "acceptable". Can you submit this as a Jira ticket? Thanks much! Clinton On Mon, Dec 14, 2009 at 12:06 PM, Soks86 wrote: > > Hi, > > I was using in an (within a ) statement and I > got > the following NPE: > > Caused by: java.lang.Null

AW: logging sql statements

2009-12-14 Thread Stephen Friedrich
I haven't found any documentation either, but had to refer to the source code to find usages of Loggers. This log category can be valuable, too: -Ursprüngliche Nachricht- Von: Rick.Wellman [mailto:rick.well...@kiewit.com] Gesendet: Dienstag, 15. Dezember 2009 00:56 An:

RE: logging sql statements

2009-12-14 Thread Rick . Wellman
iBatis relies on logging of the underlying JDBC statements which is documented (somewhere). We use the following settings in our log4j.xml file, adjust to your liking: -Original Message- From: Trenton D. Adams [mailto:tre...@athabascau.ca] Sent:

logging sql statements

2009-12-14 Thread Trenton D. Adams
Hi Guys, I've searched the net like crazy, and there doesn't seem to be anything reasonable describing how to have iBatis print out the parsed SQL that is being run, during an error. Is this possible? Currently I tried the following, to no avail... LogFactory.selectLog4JLogging(); log4j.logg

Null Pointer Exception on Malformed

2009-12-14 Thread Soks86
Hi, I was using in an (within a ) statement and I got the following NPE: Caused by: java.lang.NullPointerException at java.util.regex.Pattern.(Pattern.java:1132) at java.util.regex.Pattern.compile(Pattern.java:823) at java.lang.String.replaceFirst(String.java:2146)

RE: iterate not working

2009-12-14 Thread Poitras Christian
The remove first prepend is intended to remove the first prepend of a sub-condition. For exemple: substr(upper(#name[].firstName#),1,1)||upper(#name[].lastName#) What you want is: substr(upper(#name[].firstName#),1,1)||upper(#name[].lastName#)