Asfaq Leeonleeonscoding.hashnode.dev·Dec 4, 2023Spring Data JPA in Spring Boot[part-2]: one-to-one associationIn this blog, I'm going to demonstrate how we can create mappings or relationships between entities. There can be three types of associations. One to One One to Many And Many to One. Many to Many Also, those can be unidirectional and bidirection...Discussjpa
Redha Bayu Anggararedhabayuanggara.hashnode.dev·Dec 2, 2023JDBC or ( JPA also Hibernate) in Spring FrameworkLet’s dive deep to settle on a framework for Database operations DDL JDBC Java Database Connectivity (JDBC) is an application programming interface (API) for the Java programming language that defines how a client can access a database. In February 1...DiscussJava
Merge Simpsonletsdev.hashnode.dev·Nov 13, 2023Spring Data JPA: DB 님, 안 쓰는 컬럼은 빼고 주세요 (JPA Projection)JPA Repository로 조회하기 👩🎓 이런 글을 보시는 분들은 대부분 JPA Repository의 기본 조회 요령을 아실 것 같습니다만, 그래도 기본 전제는 공유해야 글에 좋겠죠. ✨ JPA Repository는 기본적으로 몇 가지 조회 메서드를 제공하고, 또 네이밍 규칙만 따르면 알맞게 동작하는 커스텀 조회 메서드를 추가할 수 있습니다. (오늘은 조회만!) 다음은 네이밍 규칙의 간단한 예시입니다. findImSoCoolByUsern...Discuss·83 readsjpa
Vinod Avinodaw.hashnode.dev·Nov 7, 2023Introduction to JPAJakarta Persistence API (formerly known as Java Persistence API) provides developers with an object/relational mapping facility to manage relational data in Java applications. Persistence means any mechanism by which Java objects outlive the applicat...Discussjpa
Chinedu Ihediohachinexboroja24.hashnode.dev·Oct 29, 2023Understanding the key differences: JPA vs Hibernate-ORM in Java applications.Hey everyone!! Let’s delve into something cool today, which is Hibernate and Java Persistence API (JPA). We will discuss the differences between Hibernate and JPA, and also the relationship. Prerequisites As this article focuses on Java programmers a...Discuss·10 likesJava
Robert Niestrojrobertniestroj.hashnode.dev·Oct 25, 2023Ordering columns in a Table in JPA/HibernateThe order of columns in a Table does matter? Most of the time it does not matter. However, the order of columns in a DB might impact the physical storage of the data. Columns are ordered in the way they were added to the table. For example in Postgre...Discuss·585 readsJava
Kawsar Ahmed Bhuiyankawsar.hashnode.dev·Sep 8, 2023Understanding FetchType, FetchMode, and Lazy Loading in JPA with HibernateJava Persistence API (JPA) is a powerful Java framework for managing relational data in applications. When working with JPA, it's crucial to understand how data is fetched from the database and how to control this behavior effectively. In this articl...Discuss·37 readshibernate
Robert Niestrojrobertniestroj.hashnode.dev·Sep 6, 2023How DTO Projections can make your #Java #JPA app faster, better, strongerStandard JPQL Queries fetch entities. This means all basic attributes and FetchType.EAGER associations will be fetched. So as entities grow over time the generated SQL queries also will grow. A simple @Query like this: @Query("select e from Employe...Discuss·1.5K readsJava
Tamilselvendhirantamil.hashnode.dev·Aug 16, 2023How @PostLoad annotation works in Spring Boot JPATable of Contents Introduction🤞 How does @PostLoad annotation work🤷♂️ Conclusion🦾 Introduction The @PostLoad annotation in Spring Boot is a JPA annotation that is used to specify a callback method that will be invoked after an entity is load...DiscussJava
Manas Patramanasdroidtech.hashnode.dev·Aug 15, 2023JPA and Hibernate in simple terms.Let's first go by the conventional explanation of both of them. JPA stands for "Java Persistence API." It is a specification in the Java EE (Enterprise Edition) ecosystem that provides a standardized way to manage relational data in Java applications...Discussjpa