Hibernate Tips Ebook

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

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

Hibernate Tips Posts

Hibernate Tip: Difference between @JoinColumn and @PrimaryKeyJoinColumn

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…

More Hibernate Tip posts