I have difficulties migrating my backend application from hibernate 5.4.32 to hibernate 6 due to :
Please find below a simplified datamodel explaining my issue. Note that I am using Lombok / Spring Data.
My unit test is trying to create a customer in 2 steps : first, creating the customer, then adding the sale with a sale line.
The framework throws a NullPointerException when logging the CollectionEntry due to null values. I have attached the full stack. If needed, I cas share my sample project. |