AnghelLeonard/Hibernate-SpringBoot
Collection of 300+ best practices for Java persistence performance in Spring Boot applications
3 best points · 3 comments · 47 Hacker News posts · 1,372 GitHub stars · View on GitHub
Hacker News discussions
- How to Update/Insert/Delete Data from/in a MySQL Database View (3 points, 0 comments, by AnghelLeonard, 2020-04-08)
- Attribute Lazy Loading and Jackson Serialization (2 points, 0 comments, by AnghelLeonard, 2020-02-19)
- How to Setup Spring Data JPA Auditing (2 points, 0 comments, by AnghelLeonard, 2020-02-20)
- How to Use JPA GenerationType.AUTO and UUID Identifiers (2 points, 0 comments, by AnghelLeonard, 2020-02-21)
- How to Batch Deletes via SQL on Delete Cascade (2 points, 0 comments, by AnghelLeonard, 2020-02-22)
- Calling Stored Procedure That Returns a Result Set via Native Query (2 points, 0 comments, by AnghelLeonard, 2020-03-19)
- How to Ensure/Validate That Only One Association Is Non-Null (2 points, 1 comments, by AnghelLeonard, 2020-03-19)
- Count and Assert SQL Statements (2 points, 0 comments, by AnghelLeonard, 2020-03-20)
- How to JDBC Batch a Big JSON File to MySQL via ForkJoinPool and HikariCP (2 points, 0 comments, by AnghelLeonard, 2020-03-21)
- How to Programmatically Customize HikariCP Settings via DataSourceBuilder (2 points, 0 comments, by AnghelLeonard, 2020-03-22)
- View Query Details via DataSource-Proxy Library (2 points, 0 comments, by AnghelLeonard, 2020-03-23)
- How to Implement Complex Data Integrity Constraints and Rules (2 points, 0 comments, by AnghelLeonard, 2020-03-24)
- How to Fetch Data from a MySQL Database View (2 points, 0 comments, by AnghelLeonard, 2020-03-25)
- Prevent Database View Update/Insert That Are Not Visible via with Check Option (2 points, 0 comments, by AnghelLeonard, 2020-03-26)
- How to Write Derived Count and Delete Queries (2 points, 0 comments, by AnghelLeonard, 2020-03-30)
- How to Publish Domain Events from Aggregate Root (2 points, 0 comments, by AnghelLeonard, 2020-04-01)
- How to Dto via Named Native Query and Result Set Mapping via Orm.xml (2 points, 0 comments, by AnghelLeonard, 2020-04-03)
- How to Fetch DTO via Javax.persistence.Tuple and JPQL (2 points, 0 comments, by AnghelLeonard, 2020-04-03)
- Dynamic Spring Projection (2 points, 0 comments, by AnghelLeonard, 2020-04-04)
- How to Join Fetch an ElementCollection (2 points, 0 comments, by AnghelLeonard, 2020-04-05)
- How to Implement Complex Data Integrity Constraints and Rules (2 points, 0 comments, by AnghelLeonard, 2020-04-08)
- How to Auto-Create and Migrate Two Databases in MySQL Using Flyway (2 points, 0 comments, by AnghelLeonard, 2020-04-10)
- How to Use JPA GenerationType.AUTO and UUID Identifiers (1 points, 0 comments, by AnghelLeonard, 2020-02-17)
- Batch Inserts via SaveAll(Iterable Entities) (1 points, 0 comments, by AnghelLeonard, 2020-02-17)
- How to Efficiently Chunk a Java List (1 points, 0 comments, by AnghelLeonard, 2020-02-18)
- How to Efficiently Assign a Database Temporary Sequence of Values to Rows (1 points, 0 comments, by AnghelLeonard, 2020-02-18)
- How to Use Hibernate Attribute Lazy Loading (1 points, 0 comments, by AnghelLeonard, 2020-02-18)
- Default Values for Lazy Loaded Attributes (1 points, 0 comments, by AnghelLeonard, 2020-02-19)
- Why and How to Avoid the Auto Generator Type in Hibernate 5 and MySQL (1 points, 0 comments, by AnghelLeonard, 2020-02-20)
- Avoid Entity in DTO via Constructor Expression (No Association) (1 points, 0 comments, by AnghelLeonard, 2020-02-21)
- How to Batch Deletes in MySQL via OrphanRemoval=True (1 points, 0 comments, by AnghelLeonard, 2020-02-24)
- How to Batch Deletes That Don't Involve Associations (1 points, 0 comments, by AnghelLeonard, 2020-02-24)
- How to Optimize Batch Inserts of Parent-Child Relationships (1 points, 0 comments, by AnghelLeonard, 2020-02-24)
- Optimize Batch Inserts of Parent-Child Relationships and Batch per Transaction (1 points, 2 comments, by AnghelLeonard, 2020-02-25)
- How to Define a Composite Primary Key via IdClass (1 points, 0 comments, by AnghelLeonard, 2020-03-16)
- Why to Avoid PostgreSQL (Big)Serial in Batching Inserts via Hibernate (1 points, 0 comments, by AnghelLeonard, 2020-03-17)
- Calling Stored Procedure via JdbcTemplate and BeanPropertyRowMapper (1 points, 0 comments, by AnghelLeonard, 2020-03-18)
- Way to Remove Parent and Child Entities via Bulk Deletions (1 points, 0 comments, by AnghelLeonard, 2020-03-19)
- How to Delay Connection Acquisition as Needed (Hibernate 5.2.10) (1 points, 0 comments, by AnghelLeonard, 2020-03-27)
- How to Assign a Database Temporary Ranking of Values to Rows via Dense_rank() (1 points, 0 comments, by AnghelLeonard, 2020-03-28)
- Direct Fetching-Spring Data FindById(), JPA EntityManager and Hibernate Session (1 points, 0 comments, by AnghelLeonard, 2020-03-31)
- How to Fetch DTO via a Custom ResultTransformer (1 points, 0 comments, by AnghelLeonard, 2020-04-02)
- Entity Inside Spring Projection (1 points, 0 comments, by AnghelLeonard, 2020-04-02)
- How to Fetch DTO via Javax.persistence.Tuple and Native SQL (1 points, 0 comments, by AnghelLeonard, 2020-04-04)
- IN Clause Parameter Padding (1 points, 0 comments, by AnghelLeonard, 2020-04-09)
- Inspect Persistent Context (1 points, 0 comments, by AnghelLeonard, 2020-04-09)
- Filter Association via Hibernate Where (1 points, 0 comments, by AnghelLeonard, 2020-04-10)