Re:Problems with JPA/Hibernate
by amenghra on Tuesday April 13, 2021 @02:24AM
(#26788737)
My models have always been fairly simple with not too many levels of child entities. I contain all the logic for a given entity in a single class (where I hand write the code to update related entities). I do have to keep my fingers crossed that nobody will implement similar-but-wrong logic in some other spot in the codebase. The 1:1 mapping between entities and classes to CRUD helps to some degree.
[ Parent
| on HN ]
There are no comments on this comment yet.