I\'m using derby as an embedded database. Furthermore, I\'m using it\'s in-memory database option for my unit tests.
What I can\'t figure out is how to properly shu
XJ015 (with SQLCODE
50000) is the expected (successful) SQLSTATE
for complete system shutdown. 08006 (with SQLCODE
45000), on the other hand, is the expected SQLSTATE
for shutdown of only an individual database.
DriverManager.getConnection("jdbc:derby:;shutdown=true");
Shuts down the entire system and should result in XJ015
.