We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
错误的资源释放顺序导致,项目抛出java.sql.SQLException: 关闭的语句问题(是发生在调用缓存的SQL时,如项目启动加载了一次规则,调用reloadRule方法,重新加载规则,就会抛异常,导致无法刷新)。排查后发现spring-jdbc释放资源的顺序为 rs pstmt conn。而liteflow的释放顺序为conn pstmt rs。
The text was updated successfully, but these errors were encountered:
应该要按先打开的后关闭,不然conn先被关闭了,Statement 和Rs 不能用了,但不一定释放了
Sorry, something went wrong.
No branches or pull requests
错误的资源释放顺序导致,项目抛出java.sql.SQLException: 关闭的语句问题(是发生在调用缓存的SQL时,如项目启动加载了一次规则,调用reloadRule方法,重新加载规则,就会抛异常,导致无法刷新)。排查后发现spring-jdbc释放资源的顺序为 rs pstmt conn。而liteflow的释放顺序为conn pstmt rs。
The text was updated successfully, but these errors were encountered: