fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awa...@apache.org
Subject [fineract] branch develop updated: Fixed openjpa.persistence.InvalidStateException (#711)
Date Thu, 06 Feb 2020 07:20:53 GMT
This is an automated email from the ASF dual-hosted git repository.

awasum pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4597833  Fixed openjpa.persistence.InvalidStateException (#711)
4597833 is described below

commit 45978337b2b499d911f61e8b74c3546430701e90
Author: Tomer Moshe <tomosher1@gmail.com>
AuthorDate: Thu Feb 6 09:20:42 2020 +0200

    Fixed openjpa.persistence.InvalidStateException (#711)
    
    * Update AbstractPersistableCustom.java
    
    Made AbstractPersistableCustom serializable to solve org.apache.openjpa.persistence.InvalidStateException
    
    * Update AbstractPersistableCustom.java
    
    removed space
---
 .../infrastructure/core/domain/AbstractPersistableCustom.java         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/domain/AbstractPersistableCustom.java
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/domain/AbstractPersistableCustom.java
index 953c0bc..2e0586a 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/domain/AbstractPersistableCustom.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/domain/AbstractPersistableCustom.java
@@ -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)


Mime
View raw message