diff --git a/ebean-api/src/main/java/io/ebean/Query.java b/ebean-api/src/main/java/io/ebean/Query.java index cb6c3ad25a..0dd450c980 100644 --- a/ebean-api/src/main/java/io/ebean/Query.java +++ b/ebean-api/src/main/java/io/ebean/Query.java @@ -1,6 +1,7 @@ package io.ebean; import org.jspecify.annotations.NullMarked; +import org.jspecify.annotations.Nullable; /** * Object relational query for finding a List, Set, Map or single entity bean. @@ -310,6 +311,7 @@ enum LockWait { /** * Return the Id value. */ + @Nullable Object getId(); /** @@ -446,11 +448,13 @@ enum LockWait { /** * Return the "for update" wait mode to use. */ + @Nullable LockWait getForUpdateLockWait(); /** * Return the lock type (strength) to use with "for update". */ + @Nullable LockType getForUpdateLockType(); /**