Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.53 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.53 KB

Chapter 7 : Identifiers

Item 65: Why to Avoid the Hibernate 5 AUTO Generator Type in MySQL

Item 66: How to Optimize the Generation of Sequence Identifiers via the hi/lo Algorithm

Item 67: How to Optimize the Generation of Sequence Identifiers via Pooled (-lo) Algorithms

Item 68: How to Correctly Override equals() and hashCode()

Item 69: How to Use Hibernate-Specific @NaturalId in Spring Style

Item 70: How to Use Hibernate-Specific @NaturalId and Skip the Entity Identifier Retrieval

Item 71: How to Define an Association that References a @NaturalId Column

Item 72: How to Obtain Auto-Generated Keys

Item 73: How to Generate Custom Sequence IDs

Item 74: How to Efficiently Implement a Composite Primary Key

Item 75: How to Define a Relationship in a Composite Key

Item 76: How to Use an Entity for the Junction Table