JDBC.loadDriverDerby() ; // Multiple choices for Derby - load the embedded driver
String jdbcURL = "jdbc:derby:DB/SDB2";
// Passing null for user and password causes them to be extracted
// from the environment variables SDB_USER and SDB_PASSWORD
SDBConnection conn = new SDBConnection(jdbcURL, null, null) ;
// Make store from connection and store description.
Store store = SDBFactory.connectStore(conn, storeDesc) ;
Dataset ds = DatasetStore.create(store) ;