Dynamic Search Filter Using Querydsl [Spring Boot]

In this tutorial we will be creating a dynamic search filter. For any field it will generate sql query dynamically from the provided search parameter. We will generate a Dynamic JPA query for Branch entity class from the search parameter provided. Branch.class @Getter@Setter@Entity@Table(name = "BRANCH")public class Branch implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Basic(optional

Test Driven Development

Test driven development, abbreviated as TDD, is a software development paradigm with the repetition of different cycles. It is a programming practice where the test drives the development process. The programmer first writes the failing test case of small functionality, makes the failing test case to pass and then refactor the code in order to

How to install git Ubuntu

Git is one of the most popular version control tools used as a distributed version control system(VCS). Version control is a system that records changes to a file or set of files over time so that you can access specific versions later and make changes. Installing Git on Ubuntu Above command updates OS packages Above

Java 8 optional in detail

When writing programs in java, we often deal with scenarios where we get null reference for objects. Such scenarios are pain for developers, as de-referencing such variables cause, you guessed it, null pointer exceptions. The standard practice, for developers, before Java 8, was to null check every time you faced such ambiguous instances of objects.