Skip to content

Commit 28abf74

Browse files
Adjusted Lazy for new EclipseStore version
1 parent a49beec commit 28abf74

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

spring-data-eclipse-store/src/main/java/software/xdev/spring/data/eclipse/store/repository/lazy/SpringDataEclipseStoreLazy.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ public T clear()
141141
{
142142
throw new IllegalStateException("Cannot clear an unstored lazy reference.");
143143
}
144+
return this.forceClear();
145+
}
146+
147+
@Override
148+
public T forceClear()
149+
{
144150
// Make sure to save the correct objectId.
145151
this.objectId = this.objectId();
146152
this.wrappedLazy = null;

0 commit comments

Comments
 (0)