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:
“Quintilian [educational writer in Rome about A.D. 100] hoped that teachers would be sensitive to individual differences of temperament and ability. . . . Beating, he thought, was usually unnecessary. A teacher who had made the effort to understand his pupils individual needs and character could probably dispense with it: I will content myself with saying that children are helpless and easily victimized, and that therefore no one should be given unlimited power over them.”
—C. John Sommerville (20th century)
“What we have to do ... is to find a way to celebrate our diversity and debate our differences without fracturing our communities.”
—Hillary Rodham Clinton (b. 1947)
“I trust the time is nigh when, with the universal assent of civilized people, all international differences shall be determined without resort to arms by the benignant processes of civilization.”
—Chester A. Arthur (18291886)