getIdentityCondition

open fun getIdentityCondition(key: Long): LogicalCondition<? extends Expression<Long>, ?>

Gets a LogicalCondition that can be used to match an entity by it's unique identifier.

Return

the logical condition.

Parameters

key

the unique identifier of the entity.


open fun getIdentityCondition(): LogicalCondition<? extends Expression<Long>, ?>

Gets a LogicalCondition that can be used to match this entity by it's unique identifier.

Return

the logical condition.