-
Core Java
Include null Value in JSON Serialization
1. Introduction JavaScript Object Notation (JSON) is text-based data format that is easy for humans to read and write and…
Read More » -
Enterprise Java
Retrieving Lists of Entities from a Database Using Hibernate
Hibernate is a powerful Object-Relational Mapping (ORM) framework for Java that simplifies the interaction between an application and a database…
Read More » -
Core Java
Best Practices for Using JDBC in Java Applications
Java Database Connectivity (JDBC) is a powerful API that bridges the gap between your Java applications and relational databases. By…
Read More » -
Core Java
Intro to the Apache Commons CLI
The Apache Commons CLI library is a powerful tool that enables developers to efficiently create command line interfaces (CLIs) for…
Read More » -
Core Java
Capture Method Arguments in Mockito Test
During code testing, we may need to capture the method parameters. Let us delve into understanding how Mockito captures passed…
Read More » -
Enterprise Java
Refresh and Fetch an Entity After Save in Spring Data JPA
The Java Persistence API (JPA) serves as a connector linking Java objects and relational databases, facilitating the smooth persistence and…
Read More » -
Enterprise Java
Spring Prototype Beans with Runtime Arguments
Spring offers various bean scopes, with the default being singleton, which creates a single instance throughout the application. Prototype scope,…
Read More »