Wrap the jpa calls with jruby