显示完整的sql语句

修改P6SPY增强ResultSet输出控制的功能

http://blog.csdn.net/ddwcyl/archive/2007/08/31/1766435.aspx

P6Spy 监控JDBC详细配置说明

http://blog.csdn.net/ddwcyl/archive/2007/08/28/1762771.aspx

 

hibernate.properties

hibernate.connection.driver_class=com.p6spy.engine.spy.P6SpyDriver

 

spy.properties

realdriver=oracle.jdbc.driver.OracleDriver

#appender=com.p6spy.engine.logging.appender.StdoutLogger
appender=com.p6spy.engine.logging.appender.FileLogger

 

 

 

你可能感兴趣的:(oracle,sql,Hibernate,.net,jdbc)