Package org.hibernate

Class Version

java.lang.Object
org.hibernate.Version

public final class Version extends Object
Information about the version of Hibernate.
  • Method Details

    • getVersionString

      public static String getVersionString()
      Access to the Hibernate ORM version.
      Returns:
      The Hibernate version
    • logVersion

      public static void logVersion()
      Logs the Hibernate version (using getVersionString()) to the logging system.
    • main

      public static void main(String[] args)
      Prints the Hibernate version (using getVersionString()) to SYSOUT. Defined as the main-class in the hibernate-core jar
      Parameters:
      args - n/a