id Class
Obtains the class of IDs used by the entities of this class.
Obtains the class of identifiers from the passed entity class.
Checks that this class of identifiers obtained from the passed entity class is supported by the framework.
The type of entity identifiers (<I>
) cannot be bound because it can be Long
, String
, Integer
, and class implementing Message
.
We perform the check to to detect possible programming error in declarations of entity and repository classes until we have compile-time model check.
Throws
if unsupported ID class passed