fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject incubator-fineract git commit: Fixed hiberante join issue
Date Wed, 17 Aug 2016 05:06:49 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop cc07999d6 -> 416a6e528


Fixed hiberante join issue


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/416a6e52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/416a6e52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/416a6e52

Branch: refs/heads/develop
Commit: 416a6e52866eea5f2e9fe588102d672bdb0a8bb2
Parents: cc07999
Author: Adi Narayana Raju <adi.raju@confluxtechnologies.com>
Authored: Wed Aug 17 10:30:39 2016 +0530
Committer: Adi Narayana Raju <adi.raju@confluxtechnologies.com>
Committed: Wed Aug 17 10:30:39 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/fineract/portfolio/client/domain/Client.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/416a6e52/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
index 5210f18..82b994b 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/Client.java
@@ -226,7 +226,7 @@ public final class Client extends AbstractPersistable<Long> {
 	@Temporal(TemporalType.DATE)
 	private Date reopenedDate;
 
-	@ManyToOne(optional = true)
+	@ManyToOne(optional = true, fetch=FetchType.LAZY)
 	@JoinColumn(name = "reopened_by_userid", nullable = true)
 	private AppUser reopenedBy;
 


Mime
View raw message