主要原因是操作完成没有释放连接,在Hibernate中增加设定
<prop key="hibernate.connection.release_mode">after_transaction</prop>