Converting hibernate4 module to use the new version introspection mechanism