Hibernate usage example in jruby