• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to get rid of annoying Hibernate error msg

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic