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.4K 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·26 likes·189 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
Vikram MarkaliforVikram Markali's blogvikrammarkali.hashnode.dev·May 2, 2024Understanding JDBC and Hibernate for Java Database InteractionTable of Contents Introduction Understanding JDBC (Java Database Connectivity) Connection Management Statement Execution Result Processing Transaction Management Exploring Hibernate Object-Relational Mapping Automatic Persistence Query La...Discuss·6 likes·29 readsJava
Christian LehnertProblog.christianlehnert.dev·Mar 1, 2024@MappedSuperclass with JPA and HibernateAs your application expands, so too does the complexity of your data model. You'll come across entities that share common attributes or behaviors, leading you to consider inheritance. However, inheritance in JPA and Hibernate can be a bewildering jun...Discuss·10 likes·162 readsSpring Boot into ActionJava
Biagio Tozzibiagiotozzi.hashnode.dev·Jan 29, 2024Advanced and dynamic searching with Spring Data JPAI have often been asked to develop advanced search services. By advanced search I mean searches in which it’s possible to apply multiple filters on all (or almost all) fields such as: like, between, in, greater than, etc. So imagine having to build a...Discuss·2 likes·94 readsJava
Sandip Mondalsandipmondal.hashnode.dev·Jan 26, 2024Navigating the Dynamic Landscape of Java Frameworks: Exploring the Top Choices in 2024In 2024, Java remains a dominant force in the programming landscape. Since its inception in 1995, Java has consistently proven itself as a robust and reliable language, standing the test of time. Java frameworks serve as invaluable tools for develope...Discuss·36 readsJava