Hibernate数据库连接不能正常释放:
https://blog.csdn.net/u011644423/article/details/44267301
监听中获取applicationContext上下文
https://blog.csdn.net/budapest/article/details/38493003