Hibernate Soft Delete: @SoftDelete Example

Since version 6.4, Hibernate @SoftDelete annotation provides first-class support for soft delete feature and transparently manages the indicator column name and values.

Running JUnit Tests with Gradle

By utilizing the –tests option, we can run unit tests using Gradle from entire test suites to specific test classes or methods.

Spring Boot OpenFeign Client Tutorial

Learn about Feign Client and how to use it in a Spring Boot application. Also, learn the commonly used default Feign configurations and customizing them.

Java Enumeration, Iterator, ListIterator and Spliterator

In Java, all types of enumerations and iterators (such as Iterator, ListIterator, SplitIterator) are simply navigational cursors and the main purpose of these cursors is to iterate over the elements of the collection. Each cursor has its own features, advantages and disadvantages. In this article, we will walk through these …

Python Numpy 101: A Beginners Guide

Learn NumPy basic concepts, constants, attributes and how to use NumPy for data visualization, followed by the advantages and limitations.

TypeScript Record

TypeScript Record is a utility type that creates an object type where the keys and the values associated with those keys are of the specified types.

Spring Boot WebClient POST Example

Spring Boot WebClient example discusses sending HTTP POST requests, submitting form data and handling the response status, headers and body.

Java ArrayList Length and Size

Java ArrayList does not publicly expose the length of the backing array, and only the count of the stored elements can be retrieved using its size() method.

Spring Boot RestClient (with Examples)

Starting Spring Framework 6.1 and Sring Boot 3.2, we can use the Spring RestClient for performing HTTP requests using a fluent and synchronous API. The RestClient works over the underlying HTTP client libraries such the JDK HttpClient, Apache HttpComponents, and others. As the name suggests, RestClient offers the fluent API design …

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.