lesteryu / log4jdbc

Automatically exported from code.google.com/p/log4jdbc
0 stars 0 forks source link

trouble with Hibernate #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
at 2008 i used this tool - it help me a lot. thanks :)

but it gathers too much of SQLs when Hibernate ame makes it's work.

I find out that this is because of non clearing currentBatch in 
StatementSpy.java

my fix was:
currentBatch = new ArrayList();

right now i verified that in your code written:
currentBatch.clear();

possible it make same thing and no fix are needed now.

Original issue reported on code.google.com by voda...@gmail.com on 26 Jun 2010 at 12:21

GoogleCodeExporter commented 9 years ago
Duplicate of Issue 1

Original comment by arthur.b...@gmail.com on 26 Jun 2010 at 5:08