Skip to content

Tag Archives: persistence

ORM-is-Dead meme

I agree with Stephan, and  Aldo; ORMs increasingly get in the way. Collection mapping is one of those “hello world” problems. (The “hello world” example in the doco looks totally trivial and completely ideal [which is the problem], but suck-in-the-galaxy-greet-it-and-then-map-all-the-stars problem, which is more like what your real app looks like, is far less than [...]

‘Disappeared’ DAO layers

Adam Bien still wants to believe that a JPA layer can directly replace a formal ‘DAO layer’. And I still disagree. I might agree that for simple enough systems, it could end up being that in fact the service layers end up with PersistenceManager logic directly in their methods. But then I might say a [...]

Does JPA kill the DAO Pattern?

Oliver Gierke definitely thinks not. And I concur with him. A couple of years ago I got into an running battle with a developer at my old workplace as to whether the JPA architecture abstracted away enough of the persistence to justify eliminating the database layer. My answer was, and still is, certainly not! The [...]