Hibernate Tips

Hibernate Tips Book

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

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

Get the book on Amazon (kindle and paperback) or buy the PDF version here.

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.[...]