Package org.hibernate
Class Version
- java.lang.Object
-
- org.hibernate.Version
-
public final class Version extends Object
Information about the version of Hibernate.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getVersionString()
Access to the Hibernate ORM version.static void
logVersion()
Logs the Hibernate version (usinggetVersionString()
) to the logging system.static void
main(String[] args)
Prints the Hibernate version (usinggetVersionString()
) to SYSOUT.
-
-
-
Method Detail
-
getVersionString
public static String getVersionString()
Access to the Hibernate ORM version.- Returns:
- The Hibernate version
-
logVersion
public static void logVersion()
Logs the Hibernate version (usinggetVersionString()
) to the logging system.
-
main
public static void main(String[] args)
Prints the Hibernate version (usinggetVersionString()
) to SYSOUT. Defined as the main-class in the hibernate-core jar- Parameters:
args
- n/a
-
-