sgougi/play21-origami-plugin — pull request #7 by mdelem (2013-08-15 12:29:30+00:00)
Title: Updated for Play Framework 2.1.3 and OrientDB 1.5.0

Hi Sgougi,

I tried to make your plugin work with Play Framework 2.1.3 and OrientDB 1.5.0. After updating the libs, I got an exception when trying to run a non-idempotent command (SQL UPDATE) so I tried to fix the GraphDB facade.

I had to remove GraphDB.asynchCommand() and to change GraphDB.synchCommand() in order to be able to run non-idempotent SQL commands by using the OCommandSQL class. (See https://groups.google.com/d/msg/orient-database/-VBvFU2TfIw/78z20xCe6S4J)

I'm not sure if what I did is right. I hope I didn't miss anything obvious in the new API...