2 ms·
Quote from the article: "SQL is a very nice, almost mathematical language which allows phenomenally powerful queries to be expressed simply and elegantly." I
by Tichy 19y ago
Quote from the article:
"SQL is a very nice, almost mathematical language which allows phenomenally powerful queries to be expressed simply and elegantly."
I agree and that answers the question for me. I definitely prefer SQL over the unreadable code/SQL hybrids that are otherwise suggested in the article. I never liked the Hibernate Criteria, either - although sadly all other Java developers I met preferred them to HQL.
HQL (Hibernate Query Language) is OK - it is so close to SQL that it is very easy to learn, and reduces some of the verbosity. It is nice to be able to SELECT FROM object rather than having to list all the required fields.
I think someone who can't get his head around SQL probably wouldn't make a very good addition to the developer team.