commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moandji Ezana <>
Subject Re: [dbutils] Mapping from JPA annotations
Date Thu, 19 Jan 2012 20:28:49 GMT
On 19 Jan 2012 20:26, "Gary Gregory" <> wrote:
> So why not use Hibernate or any JPA provider?
> Gary

Plenty of reasons, such as the library's simplicity and the control it
affords. And I don't want the lazy-loading, 1st-level cache, etc. it

However, there are 2 big missing pieces: reducing the amount of duplication
in SQL (which makes refactoring the code or the DB difficult) and mapping

Arguably, SQL generation is out of scope. Joins, however, shouldn't be. I
think JPA annotations

Out of curiosity, how do you guys manage the SQL strings and the joins in
your projects?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message