• Many-Many JPA Mapping with Spring Boot

    The goal of this post is to establish Many-Many relationship between 2 JPA entities. Here are some of the real-world examples of Many-Many relationship student - course product - store person - hobby consultant - project actor - film...
  • 1-Many and Many-1 JPA Mapping with Spring Boot

    This post focuses on establishing 1-Many and Many-1 relationship between two entities in JPA. Terminology Owning Side or Child Entity: From a database standpoint it’s a table having the foreign key reference of the other tables. And, from JPA...
  • 1-1 JPA Mapping with Spring Boot

    This post provides an overview of establishing a 1-1 mapping between 2 entities in JPA. Let’s take an example of Driver, and DriverLicense, wherein each driver will have exactly one driver’s license, and a driver’s license is assigned to...
  • CRUD with Spring Boot

    This post gives a high-level overview of creating REST APIs with Spring Boot. The objective is to create a minimalistic REST API say "/posts" API that performs CRUD operations with HTTP verbs POST, PUT, GET, and DELETE. Define/Design API:...
  • Collections Framework in Java - (In Progress)

    Excerpt from Wikipedia Abstract Data Type(ADT) - Serves the logical form of the data type - Conceptual idea, semantics, operations - user view Few of the common ADT’s are List/Sequence Set Map/Associative Array/Dictionary Stack - LIFO - Has top...