object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java
public <RET extends OCommandRequest> RET command(final OCommandRequest iCommand) {
    return (RET) new OCommandSQLPojoWrapper(this, underlying.command(iCommand));
  }
public <RET extends OCommandRequest> RET command(final OCommandRequest iCommand) {
    return (RET) new OCommandSQLPojoWrapper(this, underlying.command(iCommand));
  }
Returns a wrapped OCommandRequest instance to catch the result-set by converting it before to return to the user application.