updated for play 2.2 and orientdb 1.5.1