DevPortal

How do I compile EJB QL Queries?


EJB QL is used to define queries for CMP 2.0 entity beans. It is a query specification language for the finder and select methods of CMP beans.

EJB QL can be compiled to a target language of a database or other persistent store such as SQL. This enables you to move query execution to the native language facilities provided by the persistent store instead of requiring queries to be executed on the runtime representation of the entity beans' state. Query methods can be made optimizable as well as portable.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal