How to Select POJOs with a CriteriaQuery
The Criteria API provides a type-safe way to define queries programmatically. This article shows how to select Plain Old Java Objects with a CriteriaQuery.
The Criteria API provides a type-safe way to define queries programmatically. This article shows how to select Plain Old Java Objects with a CriteriaQuery.
A tutorial on how to use Contexts and Dependency Injection (CDI) / Weld and Hibernate in the development of a full-blown JPA application.
JPA/Hibernate is a common approach to persistence in Java. This tutorial creates a simple CRUD app using Hibernate's EntityManager and the DAO pattern.
JPA and Hibernate as its most popular implementation are, therefore, the most common choice to implement database access.