![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
sj6O71
这个作者很懒,什么都没留下…
展开
-
java中拦截所有线程异常输出
[code="java"]Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler() { public void uncaughtException(Thread arg0, Throwable arg1) { // TODO Auto-generated method stub ...原创 2015-10-26 15:16:27 · 425 阅读 · 0 评论 -
spring+hibernate事务不会回滚
1.数据库不支持事务2.不能对该异常用try...catch处理,否则不会回滚事务!原创 2015-11-23 14:29:45 · 267 阅读 · 0 评论