This tutorial covers Java methods for converting a month’s name to its respective number.
Also find me here:
Baeldung Author
Abderrahim Azhrioun
Full Stack Developer, Java Geek, Spring Lover, and a Blogger. I believe coding should be fun and accessible to everyone ;)
Here's what I've written (so far):
Baeldung on Java
- All
- Java Dates (9)
- Java String (8)
- JPA (7)
- Java IO (6)
- Spring Boot (4)
- Persistence (4)
- Spring Data (3)
- Java List (3)
- Jackson (3)
- Spring Web (2)
- Spring MVC (2)
- Java Streams (2)
- Java Collections (2)
- Java (2)
- Core Java (2)
- Spring Persistence (1)
- REST (1)
- Java Map (1)
- Java Array (1)
- JSON (1)
- HTTP Client-Side (1)
How to Fix Hibernate UnknownEntityException: Could not resolve root entity
Filed under JPA
This tutorial explains what causes Hibernate UnknownEntityException: “Could not resolve root entity” and how to fix it.
Fixing UnsupportedTemporalTypeException: Unsupported Field: InstantSeconds
Filed under Java Dates
This tutorial explains how to avoid the UnsupportedTemporalTypeException in Java’s Date-Time API, specifically when converting a LocalDateTime to an Instant.
Avoid Inserting Duplicates in ArrayList in Java
Filed under Java List
Learn how to avoid inserting duplicate values when using ArrayList in Java.
Reading CSV Headers Into a List
Filed under Java IO
Learn how to read CSV headers into a list in Java using JDK classes, OpenCSV, and Apache Commons CSV. Explore these efficient methods with code examples for each approach.
Solving Spring Data JPA ConverterNotFoundException: No converter found
Filed under JPA
Learn how to resolve the Spring Data JPA ConverterNotFoundException: No converter found.
Fix Spring Boot H2 JdbcSQLSyntaxErrorException “Table not found”
Filed under JPA
This tutorial explores addressing the “Table not found” error in H2 databases, commonly encountered in Spring Boot applications. You can mitigate this issue by configuring H2, mapping entities, and managing data with JPA repositories.
Avoiding the IndexOutOfBoundsException When Using List.subList() in Java
Filed under Java List
In Java, subList() creates a sub-list from a larger list, but it can throw an exception if you give it invalid starting or ending positions. Learn how to avoid this error.
Check if an Element Is Present in a Set in Java
Filed under Java Collections
Learn to check if an element is in a Set in Java.