© 2022 Hashnode
#hibernate
Optimistic locking is a concept to avoid concurrent changes on the same data. To be more precise: It's not about preventing concurrent changes (this would be pessimistic locking), but to allow and detect those changes happening at the same …
A couple of weeks ago, we had a great time hosting the workshop you can see below with Vlad Mihalcea. It was loads of fun and I hope to do this again soon! In this workshop we focused on Spring Boot p…
If you haven’t read it yet, it’s probably a good idea to read part 1 of this post-series first. From now on we’ll assume that we remember roughly what part 1 was about. As a refresher, here’s one of t…
In this post we will look at how enabling batch statements will improve write performance when using Spring Data JPA and Hibernate against both PostgreSQL and CockroachDB. Example Code The code examp…
Databases and Transactions are great, Spring is great, Kotlin/Java are great (ofc. Kotlin is better 😉), simplifying transaction-handling is great. But as we all know, simplifying things almost always…
This guide walks you through the process of building a Spring boot 2 application that uses Spring Security and Spring Data JPA. Applying the new way to configure Spring Security without the WebSecurit…
The technical interview stage of a job requires a thorough preparation before you can impress the interviewer. Right from knowing everything about the technical subject to apprising the interviewers a…
The Hibernate architecture includes many objects such as persistent object, session factory, transaction factory, connection factory, session, transaction etc. The Hibernate architecture is categoriz…
I was going through basics of Hibernate and thought of sharing this with all. What's Hibernate? Hibernate is a Java framework that simplifies the development of Java application to interact with the database. Basically it is an open sourc…
In this tutorial, you will learn how to configure a Spring MVC application to work with Spring Data JPA. The application consists of a simple Crud that manages the clients of an organization. Techno…