Hi - wonder if anyone can explain this...
I'm testing with ibatis & am finding that if I have
java.sql.Connection = Info
java.sql.PreparedStatement = Debug
java.sql.ResultSet = Debug
then I don't get *any* ibatis logging, but if I change just the
java.sql.Connection value to Debug, then I get the following:
2007-11-13 17:17:57| |C-1|Connection|Debug|{conn-100000} Connection
2007-11-13 17:17:57| |C-1|Connection|Debug|{conn-100000} Preparing
Statement: SELECT ID, DEST, SMSCA, T FROM SMSCAA ORDER BY ID ASC
LIMIT 1
2007-11-13 17:17:57| |C-1|PreparedStatement|Debug|{pstm-100001}
Executing Statement: SELECT ID, DEST, SMSCA, T FROM SMSCAA ORDER BY
ID ASC LIMIT 1
2007-11-13 17:17:57| |C-1|PreparedStatement|Debug|{pstm-100001} Parameters: []
2007-11-13 17:17:57| |C-1|PreparedStatement|Debug|{pstm-100001} Types: []
2007-11-13 17:17:57| |C-1|ResultSet|Debug|{rset-100002} ResultSet
If I leave Connection as debug & raise PreparedStatement to Info, then
I loose that as expected, but I can't get PreparedStatement without
Connection?
(The settings are from Simple-log, which is where JCL is being adapted
to, so could be an issue with that, I guess...)
/Gwyn