Fixed openjpa.persistence.InvalidStateException (#711)

* Update AbstractPersistableCustom.java

Made AbstractPersistableCustom serializable to solve org.apache.openjpa.persistence.InvalidStateException

* Update AbstractPersistableCustom.java

removed space
This commit is contained in:
Tomer Moshe
2020-02-06 08:20:42 +01:00
committed by GitHub
parent aadc2a006c
commit 45978337b2
@@ -27,7 +27,9 @@ import org.springframework.data.domain.Persistable;
@MappedSuperclass
public abstract class AbstractPersistableCustom<PK extends Serializable> implements Persistable<Long> {
public abstract class AbstractPersistableCustom<PK extends Serializable> implements Persistable<Long>, Serializable {
private static final long serialVersionUID = 9181640245194392646L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)