Checkstyle cleanup for hibernate packages

I guess checkstyle will complain about this public method without javadoc.