fixed hibernate bug with fetchType EAGER

This commit is contained in:
2016-09-03 16:22:22 +02:00
parent cfd6dd4ae5
commit 3d4b827fca
2 changed files with 9 additions and 9 deletions

View File

@@ -46,28 +46,28 @@ public class PkgData
public String fileName;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> replaces;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> conflict;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> provides;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> depend;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> optdepend;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> makedepend;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> makeopkgopt;
@ElementCollection(fetch = FetchType.EAGER)
@ElementCollection(fetch = FetchType.LAZY)
public List<String> backup;
@Temporal(TemporalType.TIMESTAMP)