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 <> 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(
       at javax.persistence.Persistence.createEntityManagerFactory(

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 <> wrote:
> Is this solution usable?
> I had problems building it, now tests won't pass.