Code Major

Category: java

  • Archives


  • Preventing Hibernate Timezone Conversions

    Introduction This article is a follow-up to the time zone article. Read that article first before this one. When building distributed Java applications with Spring Boot, Hibernate, and PostgreSQL, timezone…


  • Java Records and Jackson

    Introduction Java records which were introduced as a preview feature in Java 14 and stabilized in Java 16 were intended to be used as concise, immutable data carriers. They are…


  • Time Zones and the Java Developer

    Introduction Dealing with time is one of the most deceptively complex challenges in software development. A simple Date object might seem sufficient at first, but when your application goes global—with…


  • CORS

    Introduction This tutorial provides a comprehensive guide to understanding CORS, its underlying mechanisms, and practical implementation strategies within Spring Boot, specifically tailored for beginners. CORS is the acronym for Cross-Origin…


  • Transaction Isolation

    Introduction Transaction Isolation is the “I” from the ACID acronym and is one of the properties that needs to be addressed in order to leave the database in a valid…


  • Spring Boot Test Containers

    Introduction One of the reasons containers are used is to have a light-weight environment that does not differ from one machine to another thereby making configuration dependent on operating system…


  • The Hibernate MultipleBagFetchException

    Introduction In the previous article on the N+1 query problem, we saw that one of the ways to resolve the problem was to change the fetch type of the relation…


  • JPA Hibernate N+1 Query Problem

    Introduction The N+1 Query problem refers to the inefficient way of loading entities and their relations. In a nutshell, a query (1) is issued and results returned but because of…


  • Data Access Observability

    Introduction In previous articles we have seen how we can enable observability in spring -boot applications. So far we can trace methods called and understand them from the outside. However,…


Navigation

About

Writing on the Wall is a newsletter for freelance writers seeking inspiration, advice, and support on their creative journey.