public class Version extends Object
Information about the Hibernate version.
| Modifier and Type | Method and Description |
|---|---|
static String |
getVersionString()
Access to the Hibernate version.
|
static void |
logVersion()
Logs the Hibernate version (using
getVersionString()) to the logging system. |
static void |
main(String[] args)
Prints the Hibernate version (using
getVersionString()) to SYSOUT. |
public static String getVersionString()
Access to the Hibernate version.
IMPL NOTE : Real value is injected by the build.
public static void logVersion()
Logs the Hibernate version (using getVersionString()) to the logging system.
public static void main(String[] args)
Prints the Hibernate version (using getVersionString()) to SYSOUT. Defined as the main-class in
the hibernate-core jar
args - n/aCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.