From e50583f58eb70693178d5d95112007de3e4fd152 Mon Sep 17 00:00:00 2001 From: boly38 <boly38@gmail.com> Date: Fri, 12 Jul 2013 10:22:38 +0200 Subject: [PATCH] Update BaseEntity.java This fix the following error : "setAttribute: Non-serializable attribute owner" In the following context : - hsql database configuration (updating data-access.properties only) - mvn clean install bees:run (cloudbees local run) --- .../org/springframework/samples/petclinic/model/BaseEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/samples/petclinic/model/BaseEntity.java b/src/main/java/org/springframework/samples/petclinic/model/BaseEntity.java index 8dfbfe9..3014c9b 100644 --- a/src/main/java/org/springframework/samples/petclinic/model/BaseEntity.java +++ b/src/main/java/org/springframework/samples/petclinic/model/BaseEntity.java @@ -27,7 +27,7 @@ import javax.persistence.MappedSuperclass; * @author Juergen Hoeller */ @MappedSuperclass -public class BaseEntity { +public class BaseEntity implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) protected Integer id; -- GitLab