Already answered on Stack Overflow:
http://stackoverflow.com/questions/38650067/orientdb-setting-conflictstrategy-throwing-an-exception/38651248#38651248
Best Regards,
Luca Garulli
Founder & CEO
OrientDB LTD <http://orientdb.com/>
Want to share your opinion about OrientDB?
Rate &
I have OObjectDatabaseTx. I want to set my own conflict strategy using api.
OObjectDatabaseTx db;
db.setConflictStrategy(new ORecordConflictStrategy() {
@Override
public byte[] onUpdate(OStorage storage, byte iRecordType,
ORecordId rid, ORecordVersion