News for hackers. Stuff that matters.
Re:Problems with JPA/Hibernate by kimi on Monday April 12, 2021 @02:19AM (#26776485)
"Bad practice - if you hide the database, you may get something done quickly, but it's a bad idea. If your Java code expects to have a collection of one million objects as an array, it does not matter if they are lazily loaded or not - some code somewhere might want to iterate over them, and this will kill the process. You cannot really forget that there is a database somewhere, and you should not do it."

https://github.com/l3nz/ObjectiveSync

Re:Problems with JPA/Hibernate by doctor_eval on Monday April 12, 2021 @02:35AM (#26776572)
Great synopsis of JPA problems generally!