Introduction: In this tutorial, we’ll learn to define and use a many-to-many entity association using Hibernate @ManyToMany annotation. Context BuildUp: To follow along with this tutorial, let’s say we have two entities – Employee and Qualification: As we know, one employee can multiple qualifications. Also, there can be N number of employees with a specific […]
Introduction: Identifiers in Hibernate model the primary key attribute of an entity. It helps us to uniquely identify a JPA entity. Every entity must define an identifier. Also, it can be either simple or composite. We can define a Hibernate identifier in several ways. In this tutorial, we’ll learn how to do so. Simple (Single-Valued) […]
Introduction: In this tutorial, we’ll learn about Maven Resources Plugin. We’ll start by learning what it is used for and finally learn to configure it in our own Maven project. So let’s start by understanding what’s a resource? Resources are non-source code files like xmls, images, property files etc that we use in our projects. […]
1. Introduction: Maven Compiler plugin is one of the core plugins of Apache Maven. It helps us to compile the sources of our maven project. It uses javax.tools.JavaCompiler as its default compiler. If we wish to use javac as the compiler, we can set forceJavacCompilerUse option value to true. 2.Compiler Plugin Goals: The Maven Compiler […]
Introduction: The two terms truststore and keystore are often confused and seem daunting to even many senior developers at first. In this tutorial, we’ll cover the differences between a truststore and a keystore. We also suggest you read our article on How Https Works – SSL/TLS, which will help you understand the basics of Http […]
Introduction: Git Merging and Rebasing are two important concepts in understanding how Git works. In this tutorial, we’ll learn the difference between git merge and git rebase. We’ll also learn the cases when we must avoid rebasing. Setup: To follow up with this tutorial, we’ll assume: We have two branches – master and feature. Post […]
Introduction: While using Git, we all have come across situations when we feel the need of modifying our last commit before we can finally push our code changes. In this quick tutorial, we’ll learn how can we amend our last commit which has not yet been pushed to the remote repository. Use Cases: Modifying Last […]
What is HTTPS ? Why do we need it and how does it works? What is SSL/ TLS? Today we’ll be covering all the essentials of HTTPS that every developer must know. Introduction to HTTPS : As we all know, HTTP is the most common protocol used for the web-based communications. As the data travels […]
Introduction : In Production server, there is always a need to free up the disk space from time to time. The best way to achieve is to have a cron job or an autosys job which will delete the older log files from the directory. In this simple tutorial, we’ll quickly look at the solution […]