Queries
Java developers are not usually SQL experts
Maintenance and portability become a concern when
schema details hard-coded in application
Allow Java based queries that are translated to
SQL and leverage database options
employee.manager.address = someAddress
SELECT * FROM EMP t1, EMP t2, ADDR t3
WHERE t1.MGR_ID = t2.EMP_ID AND
t2.ADDR_ID = t3.ADDR_ID AND t3.ADDR_ID =
<someAddress.id>