Hibernate 报错Problem finding Orac

2018-11-19  本文已影响0人  丶晓虎

在系统运行过程中执行保存提交操作时出错

org.springframework.orm.hibernate4.HibernateSystemException: Problem finding Oracle Connection; nested exception is org.hibernate.HibernateException: Problem finding Oracle Connection

代码太长就不贴了,最主要的还是这句话

Caused by: org.hibernate.HibernateException: Problem finding Oracle Connection

解决方案:
在Tomcat启动配置(context.xml)的Resource里添加

accessToUnderlyingConnectionAllowed="true"
上一篇 下一篇

猜你喜欢

热点阅读