Tag Archives: persistence

Hybrid queries with JPA 2.1

Before JPA 2.1 There were two types of queries Named (static): these are declared using the @NamedQuery or @NamedQueries annotations. Dynamic: as the name suggests, this type of query is specified by the application logic at runtime JPQL, Native SQL as … Continue reading

Posted in Java EE | Tagged , , , , , , | Leave a comment