by Ids
Creates a Query to read certain entity states by IDs.
Allows to specify a set of identifiers to be used during the Query
processing. The processing results will contain only the entities which IDs are present among the ids
.
Unlike byIdsWithMask, the Query
processing will not change the resulting entities.
Return
an instance of Query
formed according to the passed parameters
Parameters
entity Class
the class of a target entity
ids
the IDs of interest of type which is supported as identifier
Throws
if any of IDs have invalid type or are null