Hibernate Tips

Hibernate Tips Ebook

Get the Hibernate Tips ebook 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 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. If you have a question for a future Hibernate Tip, please post a comment below. Question: “I don’t like JPQL. It abstracts from the underlying table model, and it’s too limited for my use case….

Continue Reading

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. If you have a question for a future Hibernate Tip, please post a comment below. Question: On my latest article, Steve Ebersole reminded me of the Tuple interface. And to be honest, I don’t know…

Continue Reading

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. If you have a question for a future Hibernate Tip, please post a comment below. Question: On my tutorial about JPA’s EntityGraphs, Bipin Shrestha asked the following question: “Can you show me an example of…

Continue Reading

More Hibernate Tip posts