ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: n+1 is triggering multiple queries, 3?
Date Thu, 14 Jul 2005 12:35:15 GMT
Not exactly Chris.

These come from the PreparedStatementLogProxy class, which is a proxy
to PreparedStatement that logs to the java.sql.PreparedStatement
logger.

Larry

On 7/14/05, Chris Lear <chris.lear@laculine.com> wrote:
> * Ron Grabowski wrote (14/07/2005 13:18):
> > The Java version of iBATIS has support for logging all sql sent to the
> > database. Here's some sample output:
> >
> >  http://issues.apache.org/jira/browse/IBATISNET-35
> 
> That's DEBUG output from the java.sql.PreparedStatement class. It's not
> quite the same as profiling the actual SQL sent to the database, but it
> should be pretty close. It's also not coming out of the iBatis classes
> themselves, which is why you can't get the same thing if you're not
> using java.
> To see this output, you just need to enable DEBUG-level logging (with
> log4j or whatever).
> 
> --
> Chris
>

Mime
View raw message