![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
duan10jun
这个作者很懒,什么都没留下…
展开
-
Runnable 中的@Resource设值为null
1.在spring中启动线程 Thread thread = new Thread(new AutoRun ()); thread.start(); 2.线程类中用到了spring进行DI注入 sqlServicepublic class AutoRun implements Runnable { @Resource private SqlService sql...原创 2013-06-06 15:07:45 · 663 阅读 · 0 评论 -
数据库连接池问题
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Cannot open co...原创 2013-06-09 16:00:59 · 144 阅读 · 0 评论