I'd recommend looking into Hector Object Mapper, it provides annotation-based mapping of Java object fields to columns:

https://github.com/rantav/hector/wiki/Hector-Object-Mapper-%28HOM%29

On Mon, Jun 6, 2011 at 3:27 PM, Patrick Julien <pjulien@gmail.com> wrote:
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 <ed@anuff.com> 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.
>
> Ed
>
> On Mon, Jun 6, 2011 at 2:58 PM, Patrick Julien <pjulien@gmail.com> wrote:
>>
>> It also doesn't run, I get
>>
>> Exception in thread "main" javax.persistence.PersistenceException:
>> Failed to load provider from META-INF/services
>>        at
>> javax.persistence.spi.PersistenceProviderResolverHolder$DefaultPersistenceProviderResolver.getPersistenceProviders(PersistenceProviderResolverHolder.java:115)
>>        at
>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:91)
>>
>> Caused by: java.lang.ClassNotFoundException:
>> me.prettyprint.hom.CassandraPersistenceProvider
>>
>> Which I believe was from the previous attempt at supporting jpa in hector
>>
>>
>> On Mon, Jun 6, 2011 at 5:55 PM, Patrick Julien <pjulien@gmail.com> wrote:
>> > https://github.com/riptano/hector-jpa
>> >
>> > Is this solution usable?
>> >
>> > I had problems building it, now tests won't pass.
>> >
>
>