return couchDBDatastore;
}
private void initialize(boolean createDatabase) {
// create database if required
ServerClient serverClient = client.target( database.getServerUri() ).proxy( ServerClient.class );
if ( createDatabase ) {
createDatabase( serverClient );
}
else if ( !databaseExists( serverClient, database.getDatabaseName() ) ) {