| When Hibernate is initialized in a modular configuration, the org.hibernate.Version.getVersionString() method returns the "WORKING" String instead of the version. (org.hibernate.annotations.common.Version is working perfectly)
Currently the Version gets the information via:
Version.class.getPackage().getImplementationVersion()
But in modular mode it should call this instead:
Version.class.getModule().getDescriptor().version()
(I know that's not a possibility for now due to source level 1.8, but maybe in the future...) |