update: introduced type-safe attributes to criteria queries (JPA Static Metamodel)