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()
一般查询时容易出现此问题
方向:分布式系统设计