EJB QL - Differences

Differences

EJB QL is a database query language similar to SQL. The used queries are somewhat different from relational SQL, as it uses a so-called "abstract schema" of the enterprise beans instead of the relational model. In other words, EJB QL queries do not use tables and their components, but enterprise beans, their persistent state, and their relationships. The result of an SQL query is a set of rows with a fixed number of columns. The result of an EJB QL query is either a single object, a collection of entity objects of a given type, or a collection of values retrieved from CMP fields. One has to understand the data model of enterprise beans in order to write effective queries.

Read more about this topic:  EJB QL

Famous quotes containing the word differences:

    The differences between revolution in art and revolution in politics are enormous.... Revolution in art lies not in the will to destroy but in the revelation of what has already been destroyed. Art kills only the dead.
    Harold Rosenberg (1906–1978)

    When was it that the particles became
    The whole man, that tempers and beliefs became
    Temper and belief and that differences lost
    Difference and were one? It had to be
    In the presence of a solitude of the self....
    Wallace Stevens (1879–1955)