database = ODatabaseDocumentPool.global().acquire(url, "admin", "admin");
ODocument vDoc = database.newInstance();
vDoc.setClassName("Profile");
vDoc.field("nick", "Jacky").field("name", "Jack").field("surname", "Tramiel");
vDoc.save();
// add a new record with the same name "nameA".
vDoc = database.newInstance();
vDoc.setClassName("Profile");
vDoc.field("nick", "Jack").field("name", "Jack").field("surname", "Bauer");