PinnedFlavius ZichilinLevel Up CodingJPA vs Hibernate vs Spring Data JPAData persistence is crucial in most applications. While it is not mandatory for an application to keep its data persisted, it is a common…Apr 21Apr 21
Flavius ZichilinJavarevisitedJava Garbage Collector — A memory management solutionWhen writing a Java program, many variables are used to store the state of the program during its execution. Some of them are needed…Jul 19Jul 19
Flavius ZichilinLevel Up CodingThe worst way of fetching data with Spring Data JPAHave you ever heard of findAll() anti-pattern? If not, this article is perfect for you. Otherwise, seeing a couple of real examples of how…Jun 127Jun 127
Flavius ZichilinLevel Up CodingJpaRepository — How is it implemented?If you worked with Spring Data JPA until now, you may have noticed a strange thing: the methods from the JpaRepository interface (or the…Jun 3Jun 3
Flavius ZichilinLevel Up CodingThe magic behind Hibernate’s Dirty Checking mechanismFor performance purposes, Hibernate can manage all the entities so they can be compared, cached, batched, and synchronized with the…May 23May 23
Flavius ZichilinLevel Up CodingJPA Entity Lifecycle StatesThere is an intermediate layer between the moment when a JPA entity is created and the moment it is synchronized with the database. This…May 131May 131
Flavius ZichilinLevel Up CodingConnection Pooling with HikariCP — How does it work?When developing applications that are using a database to persist the data, the database connection should be closely monitored for…May 7May 7