From dev-return-18812-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon Mar 28 14:03:45 2011 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 41072 invoked from network); 28 Mar 2011 14:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 14:03:45 -0000 Received: (qmail 24932 invoked by uid 500); 28 Mar 2011 14:03:45 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 24890 invoked by uid 500); 28 Mar 2011 14:03:44 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 24882 invoked by uid 99); 28 Mar 2011 14:03:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 14:03:44 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of curtisr7@gmail.com designates 209.85.161.174 as permitted sender) Received: from [209.85.161.174] (HELO mail-gx0-f174.google.com) (209.85.161.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 14:03:38 +0000 Received: by gxk21 with SMTP id 21so1414713gxk.33 for ; Mon, 28 Mar 2011 07:03:17 -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:content-type; bh=pvWEJfdtmJOPKuWYCclpNcyheCup3BeMeB5UO3Cwaq0=; b=uy8GPxmFeuy8O4v9gBvg62n0nCMijn702NVTL7mUi5qu0yHo4DMn8A1zmZvt/FQFar 6N6Jg9VVtfCVgp2VqUwLfZrmVUgOW9RnTHrcS+9fo4IifBXCyXzH0CD7aVcYWKRwfPLW JbS9NZI0I3USUoprO+/bf+Z5JRCNrAqeLEivk= 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 :content-type; b=qEMZhvpafDVDJBkJMjX+1XDf0Ta9sSNYyYQaNxx8mieljZVFZpKyCElNojpOMbxyqN F38OxOe18LPmysfTSGQKvuApG3KBVUU31kLcAcr3L4chj85JBtt7Eb3/hnzqcpKJ+jyX n4Z2hHlT0tIO9xjOYRpF18u1x07/YvZBAlgnQ= MIME-Version: 1.0 Received: by 10.42.29.1 with SMTP id p1mr1569562icc.318.1301320996845; Mon, 28 Mar 2011 07:03:16 -0700 (PDT) Received: by 10.231.35.1 with HTTP; Mon, 28 Mar 2011 07:03:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Mar 2011 09:03:16 -0500 Message-ID: Subject: Re: Help with defining custom MetaDataRepository From: Rick Curtis To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=20cf301d4314c17789049f8b67e1 X-Virus-Checked: Checked by ClamAV on apache.org --20cf301d4314c17789049f8b67e1 Content-Type: text/plain; charset=ISO-8859-1 Todd - > however I'm not having any success. How are you plugging your repo into the runtime? Can you give some more details on what you are seeing / doing? I'd also suggest checking out org.apache.openjpa.jdbc.meta.MappingRepository... you might need to extend that rather than org.apache.openjpa.meta.MetaDataRepository. Thanks, Rick On Sat, Mar 26, 2011 at 1:03 AM, Todd Nine wrote: > Hi guys, > I need to subclass both ClassMetaData and FieldMetaData in our plugin. > I've attempted to emulate the code in the JDBC plugin, however I'm not > having any success. Can anyone give me some instructions on how to do > this? Here are the relevant classes. > > > https://github.com/riptano/hector-jpa/blob/subclasses/src/main/java/com/datastax/hectorjpa/store/CassandraProductDerivation.java > > https://github.com/riptano/hector-jpa/blob/subclasses/src/main/java/com/datastax/hectorjpa/store/CassandraStoreConfiguration.java > > https://github.com/riptano/hector-jpa/blob/subclasses/src/main/java/com/datastax/hectorjpa/store/CassandraMetaDataRepository.java > > Thanks, > Todd > --20cf301d4314c17789049f8b67e1--