Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0E724C19 for ; Mon, 6 Jun 2011 23:10:02 +0000 (UTC) Received: (qmail 9841 invoked by uid 500); 6 Jun 2011 23:10:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 9816 invoked by uid 500); 6 Jun 2011 23:10:00 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 9808 invoked by uid 99); 6 Jun 2011 23:10:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 23:10:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nate@datastax.com designates 209.85.210.44 as permitted sender) Received: from [209.85.210.44] (HELO mail-pz0-f44.google.com) (209.85.210.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 23:09:53 +0000 Received: by pzk5 with SMTP id 5so2396562pzk.31 for ; Mon, 06 Jun 2011 16:09:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.2.134 with SMTP id 6mr2012871pbu.501.1307401772055; Mon, 06 Jun 2011 16:09:32 -0700 (PDT) Received: by 10.68.66.197 with HTTP; Mon, 6 Jun 2011 16:09:31 -0700 (PDT) X-Originating-IP: [64.132.24.216] In-Reply-To: References: Date: Mon, 6 Jun 2011 18:09:31 -0500 Message-ID: Subject: Re: hector-jpa From: Nate McCall To: user@cassandra.apache.org Cc: hector-users@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org All tests pass and everything compiles on a clean checkout of hector-jpa for me. I'm not sure how you got that error from hector-jpa, there is no reference in that project to me.prettyprint.hom.CassandraPersistenceProvider. Are you sure you don't have a reference to hector-object-mapper (which is a completely different codebase from jpa) somewhere in your configuration? me.prettyprint.hom.CassandraPersistenceProvider was just removed in hector src tree which why I'm suspicious. I'm posting the initial reply here, but anything additional should probably be confined to hector-users. On Mon, Jun 6, 2011 at 5:54 PM, Patrick Julien wrote: > yeah, I saw that one, I was more interested in hector-jpa because I > don't think this one supports @OneToMany. > > Was hoping the test failures were a temporary thing > > On Mon, Jun 6, 2011 at 6:41 PM, Ed Anuff wrote: >> 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 wrote= : >>> >>> So what's recommended for right now? =A0The data nucleus plugin? =A0I >>> 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 wrote: >>> > That's a work in progress and actually represents the next generation= of >>> > JPA >>> > in Hector.=A0 There is a more lightweight version present in the rele= ase >>> > version of Hector called Hector Object Mapper.=A0 I'm sure Nate or To= dd >>> > who've >>> > worked more on hector-jpa can elaborate. >>> > >>> > Ed >>> > >>> > 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 >>> >> =A0 =A0 =A0 =A0at >>> >> >>> >> javax.persistence.spi.PersistenceProviderResolverHolder$DefaultPersi= stenceProviderResolver.getPersistenceProviders(PersistenceProviderResolverH= older.java:115) >>> >> =A0 =A0 =A0 =A0at >>> >> >>> >> 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 >>> >> wrote: >>> >> > https://github.com/riptano/hector-jpa >>> >> > >>> >> > Is this solution usable? >>> >> > >>> >> > I had problems building it, now tests won't pass. >>> >> > >>> > >>> > >> >> >