• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get rid of annoying Hibernate error msg

 
Joshua White
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run my code in debug mode, I see the following:

2004-06-23 13:49:53,431 DEBUG net.sf.hibernate.util.JDBCExceptionReporter - SQL Warning
java.sql.SQLWarning: [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to MyDatabase
at com.microsoft.jdbc.base.BaseWarnings.createSQLWarning(Unknown Source)
at com.microsoft.jdbc.base.BaseWarnings.get(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getWarnings(Unknown Source)
at net.sf.hibernate.impl.BatcherImpl.closeConnection(BatcherImpl.java:289)
at net.sf.hibernate.impl.SessionImpl.disconnect(SessionImpl.java:3348)
at net.sf.hibernate.impl.SessionImpl.close(SessionImpl.java:576)
at test.TestIt.testActivityCategory(TestIt.java:26)
at test.TestIt.main(TestIt.java:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - SQL Warning: 0, SQLState:
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to MyDatabase
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - SQL Warning: 0, SQLState:
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Changed database context to 'MyDatabase'.
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - SQL Warning: 0, SQLState:
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - [Microsoft][SQLServer 2000 Driver for JDBC]Language changed to us_english
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - SQL Warning: 0, SQLState:
2004-06-23 13:49:53,431 WARN net.sf.hibernate.util.JDBCExceptionReporter - [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Changed language setting to us_english.

How can I make these errors (which do not effect the execution of my code) dissapear?

Joshua
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic