Author: fbascheper
Date: 2010-09-28 18:24:09 -0400 (Tue, 28 Sep 2010)
New Revision: 20744
Modified:
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml
Log:
HHH-5371 - Add support for REVEND_TSTMP which will enable audit table partitioning
Modified:
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml
===================================================================
---
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml 2010-09-28
22:23:04 UTC (rev 20743)
+++
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml 2010-09-28
22:24:09 UTC (rev 20744)
@@ -249,6 +249,33 @@
valid if the validity audit strategy is used.
</entry>
</row>
+ <row>
+ <entry>
+
<property>org.hibernate.envers.audit_strategy_validity_store_revend_timestamp</property>
+ </entry>
+ <entry>
+ false
+ </entry>
+ <entry>
+ Should the timestamp of the end revision be stored, until which
the data was valid, in addition to the end revision itself.
+ This is useful to be able to purge old Audit records out of a
relational database by using table partitioning.
+ Partitioning requires a column that exists within the table.
+ This property is only evaluated if the ValidityAuditStrategy is
used.
+ </entry>
+ </row>
+ <row>
+ <entry>
+
<property>org.hibernate.envers.audit_strategy_validity_revend_timestamp_field_name</property>
+ </entry>
+ <entry>
+ REVEND_TSTMP
+ </entry>
+ <entry>
+ Column name of the timestamp of the end revision until which the
data was valid.
+ Only used if the ValidityAuditStrategy is used, and
+
org.hibernate.envers.audit_strategy_validity_store_revend_timestamp evaluates to true
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>