commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <>
Subject Re: [dbutils] Mapping from JPA annotations
Date Thu, 19 Jan 2012 13:57:48 GMT

from the commons-dbutils HomePage there is a statement:

DbUtils is not:
 * An Object/Relational bridge - there are plenty of good O/R tools
already. DbUtils is for developers looking to use JDBC without all the
mundane pieces.
 * A Data Access Object (DAO) framework - DbUtils can be used to build
a DAO framework though.
 * An object oriented abstraction of general database objects like a
Table, Column, or PrimaryKey.
 * A heavyweight framework of any kind - the goal here is to be a
straightforward and easy to use JDBC helper library.

So I'd interpret that there shouldn't be any plan of supporting JPA
annotations - if you're looking for an Apache solution for JPA, have a
look at Apache OpenJPA[1].

Hope that helps, have a nice day!


On Thu, Jan 19, 2012 at 2:52 PM, William Speirs <> wrote:
> No, JPA hasn't been added to DbUtils in any way. I'm not familiar with JPA,
> could you give an example of what you'd like to see in DbUtils?
> You can always open a JIRA enhancement as well.
> Thanks!
> Bill-
> On Thu, Jan 19, 2012 at 8:26 AM, Moandji Ezana <> wrote:
>> Hello,
>> Has anyone extended DbUtils to use JPA annotations?
>> I've partially written a BeanProcessor that does so, but thought it might
>> already exist.
>> I did so in the context of wanting DbUtils's simplicity, but without having
>> to write quite as much boilerplate SQL. Also, this could lead to a nice way
>> to handle joins, which, as far as I am aware, are not currently supported
>> in DbUtils.
>> Best regards,
>> Moandji

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message