When using regular expressions in Java, sometimes we need to match regex patterns in their literal form – without processing any metacharacters. Let’s find out how we can do that.
Also find me here:
Baeldung Editor
Bruno Fontana
Bruno has been a Software Engineer for more than 15 years and a techie since he was a kid. He has worked on several projects in different industries. Nowadays he is working as an Application Architect in the payments industry. When he is not developing or architecting you will find him doing 3D modeling, a bit of carpentry, or taking long walks around the city.
Here's what I've reviewed (so far):
Baeldung on Java
- All
- Testing (4)
- Java (4)
- Spring Boot (3)
- Security (2)
- JVM (2)
- Data (2)
- Architecture (2)
- Spring WebFlux (1)
- Spring MVC (1)
- Spring Data (1)
- Spring Cloud (1)
- Spring (1)
- Reactive (1)
- Java Numbers (1)
- Java Map (1)
- Java List (1)
- Java Concurrency (1)
- Java Array (1)
- Algorithms (1)
How to Implement a Soft Delete with Spring JPA
Filed under Spring Data
Physically deleting data from a table is usual when interacting with databases. But sometimes there are business requirements to not permanently delete data from the database.
In this tutorial, we’ll learn about soft delete and how to implement this technique with Spring JPA.
Multi-Entity Aggregates in Axon
Filed under Data
In this article, we’ll look at how the Axon framework supports Aggregates with multiple entities.
Converting Java Properties to HashMap
Filed under Java Map
Let’s see how we can convert java.util.Properties into a HashMap
The java.security.egd JVM Option
Filed under JVM
The java.security.egd JVM startup property affects how the SecureRandom class initializes. Let’s explore how changing its value impacts our code.
Write Extracted Data to a File Using JMeter
Filed under Testing
Sometimes we need to write our JMeter test data into a file. Let’s explore how we can do that.
Get Advised Method Info in Spring AOP
Filed under Spring Boot
In this tutorial, we’ll show you how to get all the information about a method’s signature, arguments, and annotations, using a Spring AOP aspect.
Clean Architecture with Spring Boot
Filed under Architecture, Spring Boot
In general, our functional requirements, frameworks, I/O devices, and even our code design may all change for various reasons. With this in mind, the Clean Architecture is a guideline to a high maintainable code, considering all the uncertainties around us.
Determine if an Integer’s Square Root Is an Integer in Java
Filed under Algorithms
Finding if an integer’s square root is also an integer is an interesting subject. Let’s look at some techniques we can use.