程序包 org.hibernate
类 Version
- java.lang.Object
-
- org.hibernate.Version
-
public final class Version extends Object
Information about the Hibernate version.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 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.
-
-
-
方法详细资料
-
getVersionString
public static String getVersionString()
Access to the Hibernate ORM version.- 返回:
- 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- 参数:
args- n/a
-
-