I'd recommend looking into Hector Object Mapper, it provides annotation-based mapping of Java object fields to columns:
So what's recommended for right now? The data nucleus plugin? I
don't need the query parts or anything, I just don't want to do have
to translate columns to java fields and vice versa
On Mon, Jun 6, 2011 at 6:25 PM, Ed Anuff <firstname.lastname@example.org> wrote:
> That's a work in progress and actually represents the next generation of JPA
> in Hector. There is a more lightweight version present in the release
> version of Hector called Hector Object Mapper. I'm sure Nate or Todd who've
> worked more on hector-jpa can elaborate.
> On Mon, Jun 6, 2011 at 2:58 PM, Patrick Julien <email@example.com> wrote:
>> It also doesn't run, I get
>> Exception in thread "main" javax.persistence.PersistenceException:
>> Failed to load provider from META-INF/services
>> Caused by: java.lang.ClassNotFoundException:
>> Which I believe was from the previous attempt at supporting jpa in hector
>> On Mon, Jun 6, 2011 at 5:55 PM, Patrick Julien <firstname.lastname@example.org> wrote:
>> > https://github.com/riptano/hector-jpa
>> > Is this solution usable?
>> > I had problems building it, now tests won't pass.