List of Listings
Chapter 3. Domain models and metadata
Listing 3.1. POJO implementation of the User class
Listing 3.2. POJO implementation of the User class with logic in accessor methods
Listing 3.3. A convenience method simplifies relationship management
Listing 3.4. Enforcing integrity of relationships with a constructor
Listing 3.5. Global metadata in a package-info.java file
Listing 3.6. Applying validation constraints on Item entity fields
Listing 3.7. Testing an Item instance for constraint violations
Listing 3.8. JPA XML descriptor containing the mapping metadata of a persistence unit
Listing 3.9. Metadata document in Hibernate’s native XML syntax
Listing 3.10. Obtaining entity type information with the Metamodel API
Get Java Persistence with Hibernate, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.