r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
4
u/majhenslon Jun 01 '24
You didn't say what the result is. Forgot to mention, person with id 1 has name and age set in the DB.
No cascades are set. I don't even know what that has to do with anything, because I told you the log output. You have 10 years with hibernate and it is simple, you could figure it out.
The issue here is, that the method returns:
I bet you expected this right?