Student
Student

Reputation: 28375

JavaDB/Derby Error 08006

In the article Using Java DB in Desktop Applications the 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?

Upvotes: 3

Views: 2228

Answers (1)

Bryan Pendleton
Bryan Pendleton

Reputation: 16379

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

Upvotes: 4

Related Questions