📁 11 JPA and Hibernate query hints every developer should know
https://thorben-janssen.com/11-jpa-hibernate-query-hints-every-developer-know/
https://thorben-janssen.com/11-jpa-hibernate-query-hints-every-developer-know/
Thorben Janssen
11 JPA and Hibernate query hints every developer should know
Learn about all the query hints supported by JPA and Hibernate, which you can use to optimize the execution of your query.
📁 Using the Optimal Query Approach and Projection for JPA and Hibernate
https://thorben-janssen.com/optimal-query-and-projection-jpa-hibernate/
https://thorben-janssen.com/optimal-query-and-projection-jpa-hibernate/
Thorben Janssen
Using the Optimal Query Approach and Projection for JPA and Hibernate
How should you define your query with JPA and Hibernate and which projection should you use? Picking the best one is easier than it seems.
Spring Boot Framework pinned «🆕 Java Weekly, Issue 352 https://www.baeldung.com/java-weekly-352»
📁 Hibernate Tips: How to initialize lazy relationships within a query
https://thorben-janssen.com/hibernate-tips-initialize-lazy-relationships-within-query/
https://thorben-janssen.com/hibernate-tips-initialize-lazy-relationships-within-query/
Thorben Janssen
Hibernate Tips: How to initialize lazy relationships within a query
In this week's Hibernate Tip, I show you how to initialize a lazy relationship within a query to avoid LazyInitializationExceptions.
📁 How to customize an entity association JOIN ON clause with Hibernate @JoinFormula
https://vladmihalcea.com/how-to-customize-an-entity-association-join-on-clause-with-hibernate-joinformula/
https://vladmihalcea.com/how-to-customize-an-entity-association-join-on-clause-with-hibernate-joinformula/
Vlad Mihalcea
How to customize an entity association JOIN ON clause with Hibernate @JoinFormula - Vlad Mihalcea
Introduction As I explained in this previous article, you can map calculated properties using Hibernate @Formula, and the value is generated at query time. In this post, you’ll see how you can use a custom SQL fragment to customize the JOIN relationship between…
📁 How does a JPA Proxy work and how to unproxy it with Hibernate
https://vladmihalcea.com/how-does-a-jpa-proxy-work-and-how-to-unproxy-it-with-hibernate/
https://vladmihalcea.com/how-does-a-jpa-proxy-work-and-how-to-unproxy-it-with-hibernate/
Vlad Mihalcea
How does a JPA Proxy work and how to unproxy it with Hibernate - Vlad Mihalcea
Learn how JPA and Hibernate Proxy objects work, and how you can unproxy an entity Proxy to get access to the underlying POJO instance.
📁 How to cache non-existing entity fetch results with JPA and Hibernate
https://vladmihalcea.com/jpa-hibernate-cache-non-existing-entity-fetch-results/
https://vladmihalcea.com/jpa-hibernate-cache-non-existing-entity-fetch-results/
Vlad Mihalcea
How to cache non-existing entity fetch results with JPA and Hibernate - Vlad Mihalcea
In this article, you will learn how to cache non-existing entity fetch results when using JPA and Hibernate to speed up subsequence calls.
📁 Tool-based Database Refactoring: Flyway vs. Liquibase
https://reflectoring.io/database-refactoring-flyway-vs-liquibase/
https://reflectoring.io/database-refactoring-flyway-vs-liquibase/
reflectoring.io
Tool-based Database Refactoring: Flyway vs. Liquibase
A comparison of Flyway and Liquibase - the two most popular tools for database refactoring.
📁 Should I Use Spring REST Docs or OpenAPI?
https://springframework.guru/should-i-use-spring-rest-docs-or-openapi/
https://springframework.guru/should-i-use-spring-rest-docs-or-openapi/
Spring Framework Guru
Should I Use Spring REST Docs or OpenAPI?
Should I Use Spring REST Docs or OpenAPI? Recently, I was asked which is better to use. Spring REST Docs or OpenAPI. From the perspective of generating documentation for your APIs, you may think these…
📁 Java Magazin published my first article
https://thorben-janssen.com/java-magazin-published-my-first-article/
https://thorben-janssen.com/java-magazin-published-my-first-article/
Thorben Janssen
Java Magazin published my first article - Thorben Janssen
Hey, I just wanted to tell all german readers, that the Java Magazin published my first article in the current issue 1.15. It’s called “Aus A mach B – Konvertierung mithilfe von JPA Attribute Converter” and describes (guess what) the usage of the new JPA…
📁 A beginner’s guide to flush strategies in JPA and Hibernate
https://vladmihalcea.com/a-beginners-guide-to-jpahibernate-flush-strategies/
https://vladmihalcea.com/a-beginners-guide-to-jpahibernate-flush-strategies/
Vlad Mihalcea
A beginner’s guide to flush strategies in JPA and Hibernate - Vlad Mihalcea
Introduction In my previous post I introduced the entity state transitions Object-relational mapping paradigm. All managed entity state transitions are translated to associated database statements when the current Persistence Context gets flushed. Hibernate’s…
🆕 Guide to Testing Spring Boot applications with MockMvc
https://rieckpil.de/guide-to-testing-spring-boot-applications-with-mockmvc/
https://rieckpil.de/guide-to-testing-spring-boot-applications-with-mockmvc/
rieckpil
Testing Spring Boot Applications With MockMvc and @WebMvcTest - rieckpil
Testing Spring Boot applications using MockMvc: verify @RestController endpoints, Thymeleaf controller endpoints, Spring Security, etc.