andyj2ee

java tec sky

统计

留言簿(4)

activemq

aop

design pattern

other blog

spring

workflow

多线程

软件架构师

阅读排行榜

评论排行榜

WARN afterTransactionCompletion() was never called

WARN:
afterTransactionCompletion() was never called
unclosed connection, forgot to call close() on your session?


警告: afterTransactionCompletion() was never called

执行了tx = session.beginTransaction();

但是后来没处理tx

应该用tx.commit() or tx.rollback()

一般查询时容易出现此问题



方向:分布式系统设计

posted on 2005-10-08 09:58 java光环 阅读(1955) 评论(3)  编辑  收藏 所属分类: hibernate

评论

# re: WARN afterTransactionCompletion() was never called 2006-08-11 01:19 伤心

不行呀  回复  更多评论   

# re: WARN afterTransactionCompletion() was never called 2006-10-24 11:22 ddd

WARN afterTransactionCompletion() was never called
WARN:
afterTransactionCompletion() was never called
unclosed connection, forgot to call close() on your session?



警告: afterTransactionCompletion() was never called


执行了tx = session.beginTransaction();

但是后来没处理tx

应该用tx.commit() or tx.rollback()

一般查询时容易出现此问题

请问大哥,这个问题严重不???????????????????????????????????????????????????????????

  回复  更多评论   

# re: WARN afterTransactionCompletion() was never called 2008-01-17 09:28 cyc

严重  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航: