performance improvements for the orientdb-odm