From 2ce2f49d243ec99a59c791fab99fd4f54c8be9a5 Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Tue, 30 Jun 2009 15:10:53 +0000 Subject: [PATCH] - the default revision entity is serializable git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16979 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../java/org/hibernate/envers/DefaultRevisionEntity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java b/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java index 833a32ed1f..f45a446340 100644 --- a/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java +++ b/envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java @@ -25,6 +25,7 @@ package org.hibernate.envers; 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 @@ import javax.persistence.Transient; * @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