Merge Simpsonletsdev.hashnode.dev·Jul 9, 2024차근차근 Modern Spring Boot 3 기초 (5) JPA Entity를 사용하는 JPA RepositoryJPA Repository 객체를 다루기 위해 알아야 할 것 JPA Repository로 만든 repository 객체들은 스프링에서 bean(빈)이라는 것으로 관리됩니다. 이 개념을 이해하고 설명하기 위해 다음 개념들을 학습해야 합니다. 레이어드 아키텍처(Layered Architecture) 수직적으로 계층을 나누는 프로젝트 아키텍처(프로젝트 구조)입니다. 그중 대표적으로 세 계층에 대하여 알아야 합니다. 우리가 기억해야 할 것은 코드...DiscussJPA Repository
Prashant Baleprashbale.hashnode.dev·Jul 8, 2024Kickstart Your Journey: Building Your First Microservice with Spring BootMicroservices architecture is a design approach where an application is composed of small, independent services that communicate over well-defined APIs. Each microservice is focused on a specific business function and can be developed, deployed, and ...Discuss·80 readsH2 Database
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Jul 6, 2024What do you mean by StringBuffer is a thread safe implementation?StringBuffer: The Thread-Safe String Builder In our previous post, we explored StringBuilder, a powerful tool for efficient string manipulation in single-threaded environments. Today, we'll shift our focus to its synchronized cousin, StringBuffer. Wh...Discuss·2 likeswhystringbuffer
Sumeet sumeetblog.hashnode.dev·Jul 5, 2024🚀 Mastering Spring Data JPA: Implementing @OneToMany Mapping with User and MobilePhone EntitiesIn my previous guide, we explored @OneToOne mapping between User and AadharCard entities. Now, we’ll move on to @OneToMany mapping between User and MobilePhone entities in Spring Data JPA. This guide will show you how to efficiently manage one-to-man...Discuss·1 likeJava
东mybatis-mp.hashnode.dev·Jun 16, 2024mybatis-mp: An ORM framework that you have never used before !!!Official documents:http://mybatis-mp.cn mybatis-mp 是一款超级好用ORM框架,它不是mybatis-plus;设计简单、 使用灵活、快捷、扩展性超强 JPA Hibernate JdbcTempte 等要么太死 太难 太呆;稍微复杂一点就需要拼sql 好累!!! 所以为什么不来试试 mybatis-mp;我只能说这太好用了,不信的 可以自己去试试,反正免费的!!! 1 单表: //单条 SysUser sysUser=QueryChain....DiscussMyBatis
Sumeet sumeetblog.hashnode.dev·Jun 15, 2024🚀 Mastering Spring Data JPA: Implementing @OneToOne Mapping with User and AadharCard Entities 🚀Overview In this guide, we'll walk through how to establish a @OneToOne relationship between User and AadharCard entities. This mapping type is perfect for scenarios where one entity is closely associated with another, such as a user having a unique ...Discuss·27 readsMastering Spring Data JPA: Implementing @OneToOne Mapping with User and AadharCard Entities A Step-by-Step Guide to Efficiently Managing Entity Relationships in Spring Boot Applications
Tharukatharu.hashnode.dev·Jun 1, 2024Key Differences Between application.properties and application.yml in Spring BootTable of Contents Introduction What is application.properties? Example of application.properties Advantages of application.properties What is application.yml? Example of application.yml Advantages of application.yml Comparing the Two Rea...DiscussCRUD Operations
Nikhil Soman Sahunikhilsomansahu.hashnode.dev·May 27, 2024Building a CRUD REST API with Spring Boot and MySQL: A Beginner's GuideCreating a CRUD (Create, Read, Update, Delete) REST API with Spring Boot and MySQL is a foundational task for any Java developer. This guide will walk you through the process step by step, providing code examples and explanations along the way. Prere...DiscussJava
Nikhil Soman Sahuforjavadevfullstackjavadeveloper.hashnode.dev·May 17, 2024Deploying a Spring Boot Application to HerokuHeroku is a cloud platform that allows developers to build, run, and operate applications entirely in the cloud. Deploying a Spring Boot application to Heroku is straightforward, thanks to Heroku's support for Java applications and its seamless integ...DiscussSpringboot
Supratim Sarkarssarkar8.hashnode.dev·Apr 13, 2024Pagination and Sorting using Spring Data JPAPagination is often helpful when we have a large dataset and we want to present it to the user in smaller chunks. Also, we often need to sort that data by some criteria while paging. Initial Setup : A Entity class that defines our table is required. ...DiscussJava