執行例子出錯,我的hibernate找不到JDBC連線?

hatpdb發表於2003-09-15
奇怪的問題啊,我明明配置了connection pool 在servlet.xml啊,我把cat.hbm.xml的JDNI遮蔽了,難道是這裡出錯?
出錯資訊:

he user must supply a JDBC connection
	at net.sf.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:31)
	at net.sf.hibernate.impl.SessionFactoryImpl.openConnectionSessionFactoryImpl.java:402)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:2751)
<p class="indent">

相關文章