TOMCAT关闭时如何关闭HIBERNAET连接池???

严重: The web application [/webDesign_8] registered the JDBC driver [com.hxtt.sql.access.AccessDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-6-16 17:09:47 org.apache.coyote.AbstractProtocolHandler stop


tomcat 关闭出现这句话,我用hibernateTemplate处理保存数据时,不关闭TOMCAT,数据保存到了ACCESS里,关闭TOMCAT,
数据就没有了,估计和这段话有关,因为我用SESSION手工关闭了连接,再关闭TOMCAT时,虽然还出现这段话,但数据没丢失

如果在TOMCAT关闭时关闭Hibernate连接池???

作者: tigerdom   发布时间: 2011-06-16

没人理我。。。。。

作者: tigerdom   发布时间: 2011-06-16