In the article Using Java DB in Desktop Applications Address In the demo of the book there is a disconnect method that has a try-catch block that catches and ignores the exception. If you add printStackTrace, you will see that an exception always occurs.
What is wrong here? Should JavaDB not throw this exception, or should they fix something in the sample program?
Shutdown commands always raise SQLExceptions. Nothing wrong. This is how Derby works.
Source: https://habr.com/ru/post/1743036/More articles:Did you find a better feature in IE 8 Developer than firebug? - cssCreating a dynamic method - reflectionSpeeding up Maven + Tomcat - javaUsing CSS max-height on an outer div to force scroll on an inner div - htmlAsp.net MVC Ajax form that returns Json in javascript method - jqueryAdding an existing implementation file to an Xcode project will not work - fileIs there a cleaner way to bind a property to the owner of a DataContext? - c #C ++ Pointer to a function that takes an instance of a template class as an argument - c ++TabLayoutPanel with scrolling - gwt2Getting PC value in an ARM assembly - assemblyAll Articles