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
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Dec 3, 2023"Understanding the Power of ResponseEntity<T> in Spring Framework"1. Introduction: In the Spring framework, ResponseEntity<T> is a powerful class that represents a complete HTTP Response. ResponseEntity<T> represents the body, headers, status code in HTTP Response. With the help of ResponseEntity<T>, we can fully c...Discuss·1 like·52 readsResponseEntity
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Nov 24, 2023"isBlank() vs. isEmpty() – Which One Should You Choose?"Introduction If you are a Java developer, then definitely you have used String class and its methods in your career. But some of you might have also used one of the isBlank or isEmpty methods and some of you always get confused about choosing one of ...Discuss·76 readsString class in java
Abdelsalam Mohamedabdelsalam.hashnode.dev·Nov 23, 2023API Best Practices in Spring Boot: A Cutting-Edge ApproachDeveloping robust and efficient APIs is a crucial aspect of modern software development. In the Java ecosystem, Spring Boot has emerged as a popular framework for building scalable and maintainable APIs. In this comprehensive guide, we will delve int...DiscussJava
Merge Simpsonletsdev.hashnode.dev·Nov 13, 2023Spring Data JPA: DB 님, 안 쓰는 컬럼은 빼고 주세요 (JPA Projection)JPA Repository로 조회하기 👩🎓 이런 글을 보시는 분들은 대부분 JPA Repository의 기본 조회 요령을 아실 것 같습니다만, 그래도 기본 전제는 공유해야 글에 좋겠죠. ✨ JPA Repository는 기본적으로 몇 가지 조회 메서드를 제공하고, 또 네이밍 규칙만 따르면 알맞게 동작하는 커스텀 조회 메서드를 추가할 수 있습니다. (오늘은 조회만!) 다음은 네이밍 규칙의 간단한 예시입니다. findImSoCoolByUsern...Discuss·83 readsjpa
Nathan Tourenathaninaction.hashnode.dev·Oct 26, 2023Redis OM (Recommended Spring library for Redis stack)Redis OM (Object Mapping) Spring provides a robust repository and custom object-mapping abstractions built on the powerful Spring Data Redis (SDR) framework. With the recent upgrades done on Redis and with the release of Redis Stack, this library is ...DiscussRedis
Yaroslav Prozorovbyka.hashnode.dev·Sep 29, 2023JPA Authentication Using DTO with Spring SecurityDTO (Data Transfer Object): Create a DTO (e.g., UserRegistrationDto) to transfer user registration data to your controller. Here's an example: @Data @AllArgsConstructor @NoArgsConstructor @Builder public class CreateUserRequest { private String ...DiscussSpring Data Jpa
ihatesaphybrisihatesaphybris.hashnode.dev·Aug 31, 2023Spring Data JPA Interview Questions and AnswersLàm thế nào để tạo một custom repository base trong Spring Data JPA và kết hợp nó với các repository khác? Để tạo một custom repository base trong Spring Data JPA và kết hợp nó với các repository khác, bạn cần làm theo các bước sau: Bước 1: Tạo Cus...DiscussSpring Data Jpa
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