-
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...
-
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...
-
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:...
-
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...
-
Topics pertinent to Exception Handling throws try catch throw finally Try with resources java.lang.AutoCloseable Try with Multi-catch Suppressed Exceptions Log and re-throw or handle and declare Swallowing exceptions - Antipattern Antipatterns in exception handling Some pairs of (Exceptions, Errors)...