commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [dbutils] Mapping from JPA annotations
Date Thu, 19 Jan 2012 20:34:59 GMT
On Thu, Jan 19, 2012 at 3:32 PM, Simone Tripodi <simonetripodi@apache.org>wrote:

> I personally use MyBatis[1] - which is DbUtils with superpowers
>

MyBatis does not have super powers, you have super powers Simo ;)

Gary


> -Simo
>
> [1] http://www.mybatis.org
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> On Thu, Jan 19, 2012 at 9:28 PM, Moandji Ezana <mwanji@gmail.com> wrote:
> > On 19 Jan 2012 20:26, "Gary Gregory" <garydgregory@gmail.com> 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
> > provides.
> >
> > 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
> > joins.
> >
> > 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?
> >
> > Moandji
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

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