shutting down an embedded Derby DB doesn't work

Do I need to shutdown an embedded DerbyDB?

When I try to shutdown the DB it always throws an exception. Here is what I'm doing:
        Properties props = new Properties();
        // shut down database

Since it's embedded, the only thing this should do is to close any open files it may have. But, maybe that already happens when I close the connection?
Who is Participating?
it throws SQLException when database has been shutdown successfully
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.