// findByMethodObjectId(String objectId);
SELECT OBJECT(x) FROM PlutoObject x WHERE x.objectId = ?1
// Object is the ejb collection of entities
// PlutoObject is the entity name
// ?1 is the first parameter in the java method
// x is the table/entity alais
// findByObjectIdAndStatus(String objectId, String status)
SELECT OBJECT(x) FROM PlutoObject x WHERE x.objectId = ?1 AND x.status = ?2
SELECT OBJECT(s) FROM Shortcut s WHERE s.targetId = ?1
Subscribe to
Posts [Atom]