aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-05-12 16:16:36 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-05-12 16:16:36 +0200
commit9a377f533a992d19fe264fbd9fd0b096504aba37 (patch)
treeebf6d4b6d17ab740ce70a302a3aa2de8b3c7345e /id/server/moa-id-commons/src/main/java/at/gv/egovernment
parent278b9c49645426ae7debfc6f649f2f6550464df0 (diff)
downloadmoa-id-spss-9a377f533a992d19fe264fbd9fd0b096504aba37.tar.gz
moa-id-spss-9a377f533a992d19fe264fbd9fd0b096504aba37.tar.bz2
moa-id-spss-9a377f533a992d19fe264fbd9fd0b096504aba37.zip
fix some interfederation problems
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
index 2a65366b8..5cfb1bb92 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java
@@ -30,6 +30,7 @@ import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
+import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@@ -109,7 +110,7 @@ public class AuthenticatedSessionStore implements Serializable{
@OneToMany(mappedBy="moasession", cascade=CascadeType.ALL)
private List<OldSSOSessionIDStore> oldssosessionids = null;
- @OneToMany(mappedBy="moasession", cascade=CascadeType.ALL)
+ @OneToMany(mappedBy="moasession", cascade=CascadeType.ALL, fetch=FetchType.EAGER)
private List<InterfederationSessionStore> inderfederation = null;
@PrePersist