可选的
注意,<timestamp> 和<version type="timestamp">是等价的。
字段摘要 | |
---|---|
String |
access
Hibernate用于访问属性值的策略。 |
String |
column
持有时间戳的字段名。 |
String |
generated
Specifies that this timestamp property value is actually generated by the database. |
String |
name
在持久化类中的JavaBeans风格的属性名, 其Java类型是 Date 或者 Timestamp的。 |
String |
node
|
String |
source
From where should Hibernate retrieve the timestamp value? From the database, or from the current JVM? Database-based timestamps incur an overhead because Hibernate must hit the database in order to determine the |
String |
unsaved-value
用于标明某个实例时刚刚被实例化的(尚未保存)版本属性值,依靠这个值就可以把这种情况和 已经在先前的session中保存或装载的脱管(detached)实例区分开来。(undefined 指明使用标识属性值进行这种判断。) |
方法摘要 |
---|
子事物摘要 | |
---|---|
|
meta
|
字段详细信息 |
---|
方法详细信息 |
---|
子事物详细信息 |
---|