开发者

JavaDB/Derby Error 08006

开发者 https://www.devze.com 2022-12-28 03:37 出处:网络
In the article Using Java DB in Desktop Applications t开发者_StackOverflow社区he Address Book demo have a method disconnect which have a try-catch block that catch and ignores the exception. If you ad

In the article Using Java DB in Desktop Applications t开发者_StackOverflow社区he Address Book demo have a method disconnect which have a try-catch block that catch and ignores the exception. If you add a printStackTrace you can see that the exception always occur.

What's wrong here? The JavaDB should not throw this exception, or they should fix something in the example program?


Shutdown commands always raise SQLExceptions. So nothing's wrong. That's just the way Derby works.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号