diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-05-12 16:16:36 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-05-12 16:16:36 +0200 |
commit | 9a377f533a992d19fe264fbd9fd0b096504aba37 (patch) | |
tree | ebf6d4b6d17ab740ce70a302a3aa2de8b3c7345e /id/server/moa-id-commons | |
parent | 278b9c49645426ae7debfc6f649f2f6550464df0 (diff) | |
download | moa-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')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/session/AuthenticatedSessionStore.java | 3 |
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 |