From 49e86799f65b004e3d95d56ab0b27aa333d01bf3 Mon Sep 17 00:00:00 2001 From: Joram Barrez Date: Wed, 19 Jun 2013 13:59:47 +0200 Subject: [PATCH] Made ByteArrayRef serializable (otherwise a lot of serialization exceptions on tomcat boot) --- .../engine/impl/persistence/entity/ByteArrayRef.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/ByteArrayRef.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/ByteArrayRef.java index b1b11d6589e..1983b7cce44 100644 --- a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/ByteArrayRef.java +++ b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/ByteArrayRef.java @@ -1,5 +1,7 @@ package org.activiti.engine.impl.persistence.entity; +import java.io.Serializable; + import org.activiti.engine.impl.context.Context; /** @@ -15,7 +17,10 @@ * * @author Marcus Klimstra (CGI) */ -public final class ByteArrayRef { +public final class ByteArrayRef implements Serializable { + + private static final long serialVersionUID = 1L; + private String id; private String name; private ByteArrayEntity entity;