Attribute name Example Default
query $1 = $myField AND $myOtherField > 5 No default
Tag name File
orion-ejb-jar/enterprise-beans/entity-deployment/finder-method orion-ejb.jar.xml

The query part of an SQL statement. This is the section following the WHERE keyword in the statement. Special tokens are $number which denotes an method argument number and $name which denotes a cmp-field name. For instance the query for "findByAge(int age)" would be (assuming the cmp-field is named 'age'): "$1 = $age".