JPA Objects currently does not support either
native named queries (see Section 2.8, “No support for Named Native Query
(@NamedNativeQuery
)”) nor the creation of
queries using Hibernate criteria (see Section 2.9, “No support to access underlying JPA Persistence Context”). These limitations will
be addressed in a future version (most likely with an upgrade to
JPA 2.0).