mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
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)
This commit is contained in:
parent
6942397e2a
commit
e50583f58e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue