Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 21676 invoked from network); 26 Mar 2011 06:04:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2011 06:04:04 -0000 Received: (qmail 67448 invoked by uid 500); 26 Mar 2011 06:04:04 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 67398 invoked by uid 500); 26 Mar 2011 06:04:03 -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 67390 invoked by uid 99); 26 Mar 2011 06:04:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 06:04:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.181] (HELO mail-qy0-f181.google.com) (209.85.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 06:03:57 +0000 Received: by qyg14 with SMTP id 14so1271355qyg.12 for ; Fri, 25 Mar 2011 23:03:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.45.74 with SMTP id d10mr1366997qcf.145.1301119415031; Fri, 25 Mar 2011 23:03:35 -0700 (PDT) Sender: todd@spidertracks.co.nz Received: by 10.229.223.202 with HTTP; Fri, 25 Mar 2011 23:03:35 -0700 (PDT) Date: Sat, 26 Mar 2011 19:03:35 +1300 X-Google-Sender-Auth: 3-4zvFFr40pxzevFjsk22aYJDYA Message-ID: Subject: Help with defining custom MetaDataRepository From: Todd Nine To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=00163646cfbc8b18b4049f5c78ce X-Virus-Checked: Checked by ClamAV on apache.org --00163646cfbc8b18b4049f5c78ce Content-Type: text/plain; charset=ISO-8859-1 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 --00163646cfbc8b18b4049f5c78ce--