What are the optional clauses in EJB QL

Showing Answers 1 - 3 of 3 Answers

Muru Aingaran(Chennai)

  • Jul 14th, 2005
 

Three optional clauses are available in EJB Ql. 
1. SELECT 
2.FROM 
3.WHERE 
 
The EJB QL must always contain SELECT and FROM clauses. The WHERE clause is optional. 
The FROM clause provides declarations for the identification variables based on abstract schema name, for navigating through the schema. The SELECT clause uses these identification variables to define the return type of the query, and the WHERE clause defines the conditional query.

  Was this answer useful?  Yes

Srinivas Jadcharla

  • Jul 18th, 2005
 

The EJB QL query string consists of three clauses: SELECT, FROM, and WHERE.WHERE is optional.

  Was this answer useful?  Yes

khan

  • Jul 29th, 2005
 

According to EJB 2.1 specificationThe EJB QL consists of 4 clauses: SELECT, FROM(mandatory) WHERE and ORDER BY(optional).

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions