Upgrading Java & JOOQ: Issues and Resolutions

Java & JOOQ is an excellent combination to handle and query the application data. Until recently, my project was running on OpenJDK 1.8.0_321 and JOOQ 3.13.2 libraries and it worked just fine. But, due to organizational push for newer and stable versions of Java & JOOQ, we needed to upgrade them. So, it was decided … Read more

How to use Aggregate functions in Java Streams

Since the introduction of lambda expressions in Java 8, life has become easier for java developers as streams has done away with plenty of boilerplate code. Most of the operations can now be done on the java side for which we had to write complex queries, thanks to the Aggregate functions or Stream Operations. These aggregate functions process … Read more

Sorting data using Stream API in Java

Sorting Using Streams

Sorting refers to the mechanism of arranging/re-arranging something in a specific order. When it comes to java, we talk about placing the elements of an array or a list (Collection) in either Ascending or Descending order. There are multiple ways of achieving the desired order of elements in a collection, but here we will see … Read more

PostgreSQL’s Full Text Search With Hibernate

Full Text Search Config

Full Text Search (FTS) is a great mechanism that can be used to search the database against a search term. FTS can produce better results than conventional ways of querying, when used efficiently. The PostgreSQL database has inbuilt library for FTS and provides various functions to make use of it. There is a special data … Read more

External Pagination & Sorting With DisplayTag

DisplayTag-JSP

We often come across the need to display data of any web application in a tabular form to the end user. There are several ways to do this using different kind of technologies for e.g. Jquery’s JQGrid etc. One such technology in JSP is to use the DisplayTag library. External pagination is when the data … Read more