WARN - SettingsFactory.buildSettings(103) | Could not obtain connection metadata
java.sql.SQLException: Connection is broken
at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
at org.hsqldb.jdbc.jdbcDatabaseMetaData.execute(Unknown Source)
at org.hsqldb.jdbc.jdbcDatabaseMetaData.getDatabaseProductName(Unknown S
ource)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
75)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881
)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1174)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSession
Factory(LocalSessionFactoryBean.java:825)
因为我在lib中放了hsqldb-1.7.3.0.jar所以导致了错误!
posted on 2006-08-12 20:11
R.Zeus 阅读(1857)
评论(0) 编辑 收藏 所属分类:
Hibernate 、
SPRING