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 mother must teach her son how to respect and follow the rules. She must teach him how to compete successfully with the other boys. And she must teach him how to find a woman to take care of him and finish the job she began of training him how to live in a family. But no matter how good a job a woman does in teaching a boy how to be a man, he knows that she is not the real thing, and so he tends to exaggerate the differences between men and women that she embodies.”
—Frank Pittman (20th century)
“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 (19061978)
“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 (18791955)