Author: adamw
Date: 2009-06-30 11:10:53 -0400 (Tue, 30 Jun 2009)
New Revision: 16979
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java
Log:
- the default revision entity is serializable
Modified: core/trunk/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java 2009-06-30
12:45:13 UTC (rev 16978)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java 2009-06-30
15:10:53 UTC (rev 16979)
@@ -25,6 +25,7 @@
import java.text.DateFormat;
import java.util.Date;
+import java.io.Serializable;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@@ -34,7 +35,9 @@
* @author Adam Warski (adam at warski dot org)
*/
@MappedSuperclass
-public class DefaultRevisionEntity {
+public class DefaultRevisionEntity implements Serializable {
+ private static final long serialVersionUID = 8530213963961662300L;
+
@Id
@GeneratedValue
@RevisionNumber
Show replies by date