Upgrade to OrientDB v.1.6.1 with a bit hacking on the OFetchHelper class