Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ebean-api/src/main/java/io/ebean/Query.java
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -310,6 +311,7 @@ enum LockWait {
/**
* Return the Id value.
*/
@Nullable
Object getId();

/**
Expand Down Expand Up @@ -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();

/**
Expand Down