log4jdbc
log4jdbc copied to clipboard
log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.
``` We're seeing some performance issues related to usage of DatabaseMetaData so it would be great to see the performance logging extended to this class as well so that we...
``` problem: a sql two output problem sample ※※※※※※※※※※※※※※※※※※※※※※※※※※�� �※※※※※※※※※※※※※※※※※※※※※※※※※※� ��※※ 2012-07-31 12:08:35,431 [INFO ] sqltiming sqlTimingOccured - insert into USERINFO values ('wqeqw','213123','M','WAR,PEOPLE,','tianjin','dadfasf') {executed in 31 msec} 2012-07-31 12:08:35,431 [INFO...
``` This is perhaps a cosmetic issue. In my unit tests (call them integration tests if you want) I will sometimes violate database constraints and check whether the expected error...
``` add "log4jdbc.defaultRdbmsSpecifics" to file "log4jdbc.properties" or system properties for define custom RdbmsSpecifics eg: log4jdbc.defaultRdbmsSpecifics=net.sf.log4jdbc.Db2RdbmsSpecifics ``` Original issue reported on code.google.com by `[email protected]` on 20 Mar 2012 at 7:48 Attachments:...
``` If the option 'log4jdbc.trim.sql.extrablanklines' is true, then the output sql will be end with a char '\n'. I think it's better to remove it. :) What do you think?...
``` What steps will reproduce the problem? 1. use oracle and ibatis, log4jdbc 2. make sqlmap for ibatis 3. sql use oracle string concatenation '||' What is the expected output?...
``` It would be nice to have an option in DriverSpy to strip new lines and replace them by " ", something like sql.replaceAll("\\s+", " "). What is the expected...
``` 1.build a web project of spring+ hibernate + struts+ log4jdbc+mysql 2.create a test table in mysql ,in web project write some CRUT java code,run the project ,and add or...
``` It would be nice to have the SQL Output formatted for better readability. In Hibernate is e.g. a special parameter : formatted_sql The output in Logger: Hibernate: select emailsv0_.bean_id...
``` What steps will reproduce the problem? 1.set log4jdbc.dump.sql.select=false 2.do some inserts with jdbc batch insert feature 3. no inserts on log. What is the expected output? What do you...