syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmarte...@apache.org
Subject [syncope] branch master updated: [SYNCOPE-1436] set fetch type to LAZY
Date Mon, 18 Feb 2019 15:15:18 GMT
This is an automated email from the ASF dual-hosted git repository.

fmartelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 710d3f8  [SYNCOPE-1436] set fetch type to LAZY
710d3f8 is described below

commit 710d3f83a809ef5a9474bf43922e5d04eb171dad
Author: fmartelli <fabio.martelli@gmail.com>
AuthorDate: Mon Feb 18 15:38:08 2019 +0100

    [SYNCOPE-1436] set fetch type to LAZY
---
 .../jpa/entity/resource/JPAExternalResource.java         | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/resource/JPAExternalResource.java
b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/resource/JPAExternalResource.java
index ea2b98d..b44035e 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/resource/JPAExternalResource.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/resource/JPAExternalResource.java
@@ -113,36 +113,28 @@ public class JPAExternalResource extends AbstractProvidedKeyEntity implements
Ex
     @NotNull
     private TraceLevel createTraceLevel = TraceLevel.FAILURES;
 
-    ;
-
     @Enumerated(EnumType.STRING)
     @NotNull
     private TraceLevel updateTraceLevel = TraceLevel.FAILURES;
 
-    ;
-
     @Enumerated(EnumType.STRING)
     @NotNull
     private TraceLevel deleteTraceLevel = TraceLevel.FAILURES;
 
-    ;
-
     @Enumerated(EnumType.STRING)
     @NotNull
     private TraceLevel provisioningTraceLevel = TraceLevel.FAILURES;
 
-    ;
-
-    @ManyToOne(fetch = FetchType.EAGER)
+    @ManyToOne(fetch = FetchType.LAZY)
     private JPAPasswordPolicy passwordPolicy;
 
-    @ManyToOne(fetch = FetchType.EAGER)
+    @ManyToOne(fetch = FetchType.LAZY)
     private JPAAccountPolicy accountPolicy;
 
-    @ManyToOne(fetch = FetchType.EAGER)
+    @ManyToOne(fetch = FetchType.LAZY)
     private JPAPullPolicy pullPolicy;
 
-    @ManyToOne(fetch = FetchType.EAGER)
+    @ManyToOne(fetch = FetchType.LAZY)
     private JPAPushPolicy pushPolicy;
 
     /**


Mime
View raw message