Nikhil Soman Sahunikhilsomansahu.hashnode.dev·Sep 12, 2024How to Fix the SqlExceptionHelper Null Return in Hibernate with Spring Boot: A Step-by-Step GuideIf you’ve encountered the error message: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelega...DiscussSpringboot
Tuanh.nettuanhnet.hashnode.dev·Sep 4, 2024Bulk Insert in Spring Boot: A Comprehensive GuideSource: Bulk Insert in Spring Boot: A Comprehensive Guide 1. Introduction to Bulk Insert in Spring Boot Bulk insert refers to the process of inserting multiple records into a database in a single operation. This technique is particularly usefu...DiscussSpring
Tuanh.nettuanhnet.hashnode.dev·Aug 26, 2024Tips to Understand the Difference Between Propagation.REQUIRED and REQUIRES_NEWSource: Tips to Understand the Difference Between Propagation.REQUIRED and REQUIRES_NEW 1. What is Transaction Propagation in Spring? Before diving into the differences, it's important to understand what transaction propagation is. In Spring, ...DiscussSQL
Tuanh.nettuanhnet.hashnode.dev·Aug 25, 2024Reasons Why You Should Understand the Differences Between JPA and HibernateSource: Reasons Why You Should Understand the Differences Between JPA and Hibernate 1. Introduction to JPA and Hibernate 1.1 What is JPA? JPA is a specification, meaning it defines a set of guidelines and rules for ORM in Java. It is not ...Discussjpa
Cloud Tunedcloudtuned.hashnode.dev·Jul 10, 2024Daily Hack #day98 - Hypersistence OptimizerHypersistence Optimizer is a powerful tool designed to help developers optimize their Hibernate and JPA applications. Created by Vlad Mihalcea, a recognized expert in the field of Java persistence, this tool provides actionable insights and recommend...DiscussDaily Hackshypersistence-optimizer
Robert Niestrojrobertniestroj.hashnode.dev·Jul 3, 2024Think twice before using @OneToMany@OneToMany is one of the most often used annotations in #JPA. Whenever a Parent Entity can have multiple Childs we use a Collection with the @OneToMany annotation. import javax.persistence.*; import java.util.HashSet; import java.util.Set; import org...Discuss·3 likes·1.5K readsJava
Nikhil AkkiPronikhilakki.in·Jun 29, 2024Understanding JPA - Java Persistence APIJava Persistence API (JPA) is a specification for managing relational data in Java applications. JPA defines a set of concepts and practices for interacting with databases in a way that abstracts the underlying data store, allowing developers to focu...DiscussJavajava-persistence-api
Krishna Kumar Mahtokrishnakrmahto.hashnode.dev·Jun 6, 2024FeaturedEnsuring Correct Transactions in Service Methods with Multiple Data Sources in Spring BootWhen building enterprise applications, it's often necessary to connect to multiple databases. This can present some unique challenges, especially around transaction management. In this article, we’ll explore how to handle multiple data sources in Spr...Discuss·28 likes·223 readsDatabase Management SystemsSpringboot
hoangkimhoangkim.hashnode.dev·Jun 1, 2024Bài 3: Giải Quyết Vấn Đề Lazy Initialization ExceptionMục tiêu: Hiểu rõ về vấn đề Lazy Initialization Exception và cách giải quyết nó bằng cách sử dụng các kỹ thuật như JOIN FETCH và Open Session In View pattern trong Hibernate. 1. Mô tả Vấn Đề Lazy Initialization Exception Lazy Initialization Exception...Discusshibernate
hoangkimhoangkim.hashnode.dev·Jun 1, 2024Bài 2: Giải Quyết Vấn Đề N+1 Select với HibernateMục tiêu: Hiểu rõ về vấn đề N+1 Select và cách giải quyết nó bằng cách sử dụng các kỹ thuật tối ưu hóa truy vấn trong Hibernate như JOIN FETCH và EntityGraph. 1. Mô tả Vấn Đề N+1 Select N+1 Select Problem là một vấn đề phổ biến trong ORM, xảy ra khi ...Discusshibernate