Learn how to use the Hibernate annotation @MapsId to implement the shared primary key strategy.
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 (8)
- Java IO (6)
- Spring Boot (4)
- Persistence (4)
- Core Java (4)
- Spring Data (3)
- Java List (3)
- Jackson (3)
- Spring Web (2)
- Spring MVC (2)
- Java Streams (2)
- Java Collections (2)
- Spring Persistence (1)
- Java Map (1)
- Java Array (1)
- Java (1)
- JSON (1)
- HTTP Client-Side (1)
Iterate over a Guava Multimap
Filed under Java Collections
Learn more about Guave Multimap implementation in Java
Getting Month Number From Its Name in Java
Filed under Java Dates
This tutorial covers Java methods for converting a month’s name to its respective number.
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.