On Thu, Jan 19, 2012 at 12:08 PM, Moandji Ezana <[email protected]> wrote:
> On Thu, Jan 19, 2012 at 3:52 PM, William Speirs <[email protected]> > 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? > > > > I don't want it in DbUtils, it can be built purely as a 3rd party > extension. I was just wondering if someone knew of an existing extension > so I don't have to do it myself. > > As part of a partial implementation I've done, I found that creating a > JPA-aware BeanProcessor was enough to provide JPA support for ResultSet => > Object. I also hope that this would be a good way to support joins, which, > I believe, DbUtils does not do. > > My general goal is to automate a bit more than DbUtils does (e.g. by > generating basic queries from annotations and having mapping information > that's more flexible than just getters/setters), while still being able to > drop down to DbUtils's very nice lower-level functionalities. > So why not use Hibernate or any JPA provider? Gary > > Moandji > -- E-Mail: [email protected] | [email protected] 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
