You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Recently our company purchased your great book but I've noticed one thing. Annotation @DaTa also will generate equals() and hashCode() methods which include all fields - with mapped collections too.
There can be LazyInitializationException thrown by Hibernate if there is no Session. I've also noticed that mapped collections annotated with FetchType.EAGER - which is not a good idea for consuming memory. It would be great if this behavior changed so code will looks more production-ready.
Activity