TOTD #148: JPA2 Metamodel Classes in NetBeans 7.0 - Writing type-safe Criteria API