Annotation Interface QueryById
Allows to perform lookups by the entities id.
QueryById
public AbstractReportManagerNode getNodeById(long id) {
return null; // by magic
}
This code snipped will perform a query
FROM AbstractReportManagerNode where idField = :id
Note that if from is not specified it, the return type is examined and taken as from.
-
Optional Element Summary
Optional Elements