- the default revision entity is serializable

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16979 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Adam Warski 2009-06-30 15:10:53 +00:00
parent 760f438029
commit 2ce2f49d24
1 changed files with 4 additions and 1 deletions

View File

@ -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