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 957A84E83 for ; Mon, 6 Jun 2011 22:54:32 +0000 (UTC) Received: (qmail 84085 invoked by uid 500); 6 Jun 2011 22:54:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 84053 invoked by uid 500); 6 Jun 2011 22:54:30 -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 84045 invoked by uid 99); 6 Jun 2011 22:54:30 -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 22:54:30 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pjulien@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 22:54:24 +0000 Received: by vxg33 with SMTP id 33so3985421vxg.31 for ; Mon, 06 Jun 2011 15:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+m6lXqz+lQZWW1uh+IAo3qkcZozCBTplguUkqnbajkI=; b=OiqcqFM4NfRST+17Dq0K1KLBj5vguxSfXM4KtjhKTny+G/+Cn+LW+G8Jx+rRPZJlQa jmZelho/aJoMIE6tiAkOo0suIm1glJRlpcsk7NbTKP8K47cjEBJePYPJ0/JP4Lu4ugJ7 Km6N1kSt0ejnN8P6bpiOiq/lpnO6c8xsGXT+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=omXZQGP3oibnudG0dMeaNJ4hKHeRvyjZWw1qD/XtoGxdEd2FXQlZVZjiYz4TCqCOiu 4H7I25M/keSPyGuvzUR7ELrT9EDkfOoRXcYl/W5WRYjyQVDgxU8WKXQidjrWUd8Nhmos u/980Cuc9fKYse+IjRwN/lJhzu50MjVaAM/LE= MIME-Version: 1.0 Received: by 10.52.187.193 with SMTP id fu1mr1107730vdc.49.1307400843470; Mon, 06 Jun 2011 15:54:03 -0700 (PDT) Received: by 10.52.155.99 with HTTP; Mon, 6 Jun 2011 15:54:03 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Jun 2011 18:54:03 -0400 Message-ID: Subject: Re: hector-jpa From: Patrick Julien 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 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 relea= se >> > version of Hector called Hector Object Mapper.=A0 I'm sure Nate or Tod= d >> > 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$DefaultPersis= tenceProviderResolver.getPersistenceProviders(PersistenceProviderResolverHo= lder.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. >> >> > >> > >> > > >