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:
+3
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user