德比:当前没有连接?
我正在使用 derby 作为数据库。我的正常插入/更新操作工作正常。但有时在插入查询时我收到“无当前连接”错误消息。
我搜索了它但没有找到正确的解决方案。
有谁知道为什么会发生这种异常?
谢谢泰吉
I am using derby for database. and my normal insert/update operation is working fine. But some times while insert query I am getting "No Current Connect" error message.
I searched about it but not found proper solution.
Do any one knows why this exception occurred ?
Thanks
Tej
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您尝试在关闭的连接对象上执行操作时会导致此问题。
因此,您需要检查连接是否已关闭,如果是,则再次连接:-
its caused when you are trying to execute operations on a closed connection object.
So you need to check if the connection is closed, if so ..then connect again:-