![](https://thorben-janssen.com/wp-content/uploads/2017/05/HibernateTips3D3.png)
Hibernate Tips Ebook
Get the Hibernate Tips ebook with more than 70 ready-to-use recipes for topics like:
Hibernate Tips Posts
![Hibernate Tip: How to control cache invalidation for native queries](https://thorben-janssen.com/wp-content/uploads/2019/11/Hibernate-Tip_-How-to-control-cache-invalidation-for-native-queries-768x427.jpg)
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. If you have a question for a future Hibernate Tip, please post a comment below. Question: “I was told that native queries remove all entities from my 2nd level cache. But you’re still recommending them….
![Hibernate Tip: How to customize the association mappings using a composite key](https://thorben-janssen.com/wp-content/uploads/2019/11/Hibernate-Tip_-How-to-customize-an-association-mapping-that-uses-a-composite-key-768x427.png)
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. If you have a question for a future Hibernate Tip, please post a comment below. Question: “One of my entities uses an @IdentityClass to map a composite primary key, and I need to map a…
![Hibernate Tip: How to integrate an external query builder](https://thorben-janssen.com/wp-content/uploads/2019/11/Hibernate-Tip_-How-to-integrate-an-external-query-builder-768x427.jpg)
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….
![Hibernate Tip: Best Way To Work with Scalar Projections](https://thorben-janssen.com/wp-content/uploads/2019/09/Hibernate-Tip_-Best-Way-To-Work-with-Scalar-Projections--768x427.jpg)
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…
![Hibernate Tip: Difference between @JoinColumn and @PrimaryKeyJoinColumn](https://thorben-janssen.com/wp-content/uploads/2019/08/Hibernate-Tip_-Difference-between-@JoinColumn-and-@PrimaryKeyJoinColumn--768x427.png)
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. If you have a question for a future Hibernate Tip, please post a comment below. Question: Himanshu Srivastava asked today’s question on my YouTube channel: “What’s the difference between@JoinColumn and @PrimaryKeyJoinColumn? Also, should we use…
![Hibernate Tip: Create an EntityGraph with multiple SubGraphs](https://thorben-janssen.com/wp-content/uploads/2019/08/Hibernate-Tip_-Create-an-EntityGraph-with-multiple-SubGraphs-768x427.png)
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…