mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 11:33:11 +00:00
[DS-2763] Add much transience to make DSOs actually serializable
This commit is contained in:
@@ -78,13 +78,13 @@ public class Item extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
joinColumns = {@JoinColumn(name = "item_id") },
|
||||
inverseJoinColumns = {@JoinColumn(name = "collection_id") }
|
||||
)
|
||||
private List<Collection> collections = new ArrayList<>();
|
||||
private final List<Collection> collections = new ArrayList<>();
|
||||
|
||||
@ManyToMany(fetch = FetchType.LAZY, mappedBy = "items")
|
||||
private List<Bundle> bundles = new ArrayList<>();
|
||||
private final List<Bundle> bundles = new ArrayList<>();
|
||||
|
||||
@Transient
|
||||
private ItemService itemService;
|
||||
private transient ItemService itemService;
|
||||
|
||||
protected Item() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user