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