Hibernate Tips

Hibernate Tips Book

Get the Hibernate Tips book with more than 70 ready-to-use recipes for topics like:

  • basic and advanced mappings
  • mapping of custom data types
  • 1st level, 2nd level and query caches
  • compile-time defined queries
  • logging and configuration
  • Hibernate's Java 8 support
  • stored procedure calls
  • dynamically defined queries

Hibernate Tips Posts

Hibernate Tip: How to control cache invalidation for native queries
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: How to customize the association mappings using a composite key
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: How to integrate an external query builder
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: Best Way To Work with Scalar Projections
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: Difference between @JoinColumn and @PrimaryKeyJoinColumn
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: Create an EntityGraph with multiple SubGraphs
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: Many-to-Many Association with additional Attributes
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: Using LEFT JOIN and FETCH JOIN in a CriteriaQuery
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: How does Hibernate’s native ID generator work
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]
Hibernate Tip: How to lazily load one-to-one associations
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions.[...]