JPA GenericJDBCException: could not prepare statemen问题解决

问题描述:

Caused by: org.hibernate.exception.GenericJDBCException: could not prepare statemen

问题分析:

1、使用了jdbc获取Connection,但是在结束时调用了close()方法,导致连接关闭。

猜你喜欢

转载自blog.csdn.net/qq_38974638/article/details/113913567