在使用hibernate过程中出现了一个警告异常,不知道对项目有没有影响?

阅读更多

在使用hibernate过程中出现了一个警告异常,如下:

java.sql.SQLWarning: [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to equinox
 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 org.hibernate.util.JDBCExceptionReporter.logAndClearWarnings(JDBCExceptionReporter.java:22)
 at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:325)
 at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:262)
 at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:194)
 at org.hibernate.impl.SessionImpl.close(SessionImpl.java:289)
 at org.springframework.orm.hibernate3.SessionFactoryUtils.doClose(SessionFactoryUtils.java:775)
 at org.springframework.orm.hibernate3.SessionFactoryUtils.closeSessionOrRegisterDeferredClose(SessionFactoryUtils.java:764)
 at org.springframework.orm.hibernate3.SessionFactoryUtils.releaseSession(SessionFactoryUtils.java:744)
 at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:328)
 at org.springframework.orm.hibernate3.HibernateTemplate.loadAll(HibernateTemplate.java:450)
 at com.legend.shipment.dao.hibernateImpl.EmployeeDAOImpl.getEmployee(EmployeeDAOImpl.java:32)
 at test.dao.EmployeeDAOTest.testEmployee(EmployeeDAOTest.java:41)
 at java.lang.reflect.Method.invoke(Native Method)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)

似乎是一个改变数据库的警告。应该是没有影响的,但还是有点担心,所以,,,,谢谢!

 

你可能感兴趣的:(Hibernate,Java,junit,JDBC,Eclipse)