Moved hibernate from intalio.rb to common.rb