/*
* Use JEConnection.openDatabase() to obtain a cached Database
* handle. Do not call close() on Database handles obtained
* using this method.
*/
db = dc.openDatabase("db", dbConfig);
secDb = dc.openSecondaryDatabase("secDb", db, secDbConfig);
System.out.println("blort");
cursor = db.openCursor(null, null);
cursor.put(new DatabaseEntry(key.getBytes()),
new DatabaseEntry(data.getBytes()));