handleError(returnCode, clusterConnection, connectString, nodeId);
}
public Db createDb(String database, int maxTransactions) {
checkConnection();
Ndb ndb = null;
// synchronize because create is not guaranteed thread-safe
synchronized(this) {
ndb = Ndb.create(clusterConnection, database, "def");
handleError(ndb, clusterConnection, connectString, nodeId);
}