开发者社区> 问答> 正文

报错Could not be acquired from the underlying database,什么情况?

connections could not be acquired from the underlying database a resourcepool could not acquired a resource from its primary factory or source could not open hibernate session for transaction tomcat
每天会报这个错,持续10-15分钟 hibernate c3p0参数都调整过,还是不好使 难道是mysql的问题? 有人遇到过么?

展开
收起
落地花开啦 2016-06-03 17:24:21 3060 0
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    你连接池又没有检查连接可用性?mysql默认会8小时就关闭连接的

    2019-07-17 19:26:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
GTD GLOBAL TERRORISM DATABASE 立即下载
Dynamic DDL Adding Structure t 立即下载
Just in Time Analytics and the Need for Autonomous Database Administration 立即下载