October 2006
Intermediate to advanced
880 pages
22h 11m
English
You're now able to write a wide variety of queries in HQL and JPA QL. You learned in this chapter how to prepare and execute queries, and how to bind parameters. We've shown you restriction, projection, joins, subselects, and many other options that you probably already know from SQL.
Table 14.4 shows a summary you can use to compare native Hibernate features and Java Persistence.
| Hibernate Core | Java Persistence and EJB 3.0 |
|---|---|
| Hibernate APIs support query execution with listing, iteration, and scrolling. | Java Persistence standardizes query execution with listing. |
| Hibernate supports named and positional query bind parameters. | Java Persistence standardizes named and positional ... |
Read now
Unlock full access