db.command(new OCommandSQL("CREATE property company.name STRING")).execute();
db.command(new OCommandSQL("CREATE class employee")).execute();
db.command(new OCommandSQL("CREATE property employee.name STRING")).execute();
db.command(new OCommandSQL("CREATE property company.employees LINKSET employee")).execute();
db.command(new OCommandSQL("INSERT INTO company SET name = 'MyCompany'")).execute();
final ODocument r = (ODocument) db.query(new OSQLSynchQuery<Object>("SELECT FROM company")).get(0);
db.command(new OCommandSQL("INSERT INTO employee SET name = 'Philipp'")).execute();
db.command(new OCommandSQL("INSERT INTO employee SET name = 'Selma'")).execute();