Package org.hibernate
Class Version
- java.lang.Object
-
- org.hibernate.Version
-
public final class Version extends Object
Information about the Hibernate version.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetVersionString()Access to the Hibernate ORM version.static voidlogVersion()Logs the Hibernate version (usinggetVersionString()) to the logging system.static voidmain(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
-
-