| <html lang=en> |
| <head> |
| <meta name="Generated by Rational Rose model" content="D:\work\WTP\org.eclipse.jst.j2ee.core\rose\j2ee.mdl"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta name="Description" content="Contains the EJB QL query string that defines a finder or select query. This element is defined within the scope of a query element whose contents specify the finder or the select method that uses the query. The content must be a valid EJB QL query string for the entity bean for which the query is specified. The ejb-ql element must be specified for all queries that are expressible in EJB QL. @invariant The value must be a valid EJB QL query string for the entity bean or dependent object class for which the query is specified. @invariant The ejb-ql element must be specified for all queries that are expressible in EJB QL. Example: query query-method method-name ejbSelectPendingLineitems /method-name method-params/ /query-method ejb-ql SELECT ENTITY(l) FROM LineItems l WHERE l.shipped is FALSE /ejb-ql /query "> |
| <meta name="KeyWords" content="ejbQL,Attribute ejbQL,j2ee,model j2ee,"> |
| <a href="../../root.html" target=_top><IMG SRC="../../webviewer/home.gif"BORDER=0></a> |
| </head> |
| <body bgcolor = "#FFFFFF"> |
| <p><font FACE="Arial, Geneva" SIZE=3><b>String <IMG SRC="../../webviewer/30.jpg"BORDER=0>ejbQL, in Class <a href="class39bf02710327.htm" target="contents_frame">Query</a></b></font></p> |
| <font FACE="Arial, Geneva" SIZE=2><b>Documentation</b></font><BR><font FACE="Arial, Geneva" SIZE=2>Contains the EJB QL query string that defines a finder or select query. This element is defined within the scope of a query element whose contents specify the finder or the select method that uses the query. The content must be a valid EJB QL query string for the entity bean for which the query is specified. The ejb-ql element must be specified for all queries that are expressible in EJB QL. |
| <BR> |
| <BR>@invariant The value must be a valid EJB QL query string for the entity bean or dependent object class for which the query is specified. |
| <BR>@invariant The ejb-ql element must be specified for all queries that are expressible in EJB QL. |
| <BR> |
| <BR>Example: |
| <BR><query> |
| <BR><query-method> |
| <BR><method-name>ejbSelectPendingLineitems</method-name> |
| <BR><method-params/> |
| <BR></query-method> |
| <BR><ejb-ql>SELECT ENTITY(l) |
| <BR>FROM LineItems l |
| <BR>WHERE l.shipped is FALSE |
| <BR></ejb-ql> |
| <BR></query></font><BR><BR> |
| </body> |
| </html> |