|
From: Martin A. <sp...@ma...> - 2008-07-16 14:11:32
|
On 16 Jul 2008, at 14:28, Ryan J. McDonough wrote: > My only problem with the resource-per-entity approach is that, for the > most part, you're repeating very similar activities for different > entities. To me, that doesn't feel right. Hibernate and JPA abstract > the persistence details enough that it should be possible to build a > layer around True very true, the wrapper classes for my 10 or so entities look pretty much exactly the same. I've done what I can with generics - but it's still code duplication. M |