Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 604867C72 for ; Fri, 22 Jul 2011 16:08:20 +0000 (UTC) Received: (qmail 72794 invoked by uid 500); 22 Jul 2011 16:08:20 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 72721 invoked by uid 500); 22 Jul 2011 16:08:19 -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 72713 invoked by uid 99); 22 Jul 2011 16:08:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 16:08:19 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 16:08:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BBE7957B2A for ; Fri, 22 Jul 2011 16:07:57 +0000 (UTC) Date: Fri, 22 Jul 2011 16:07:57 +0000 (UTC) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Message-ID: <1154877693.14841.1311350877750.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <908172887.14809.1311349438532.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (OPENJPA-2035) Add the ability to cache data on a remote process without needing domain classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis updated OPENJPA-2035: --------------------------------- Attachment: OPENJPA-2035.patch Attaching the code change and a unit test. A word of warning, I had to add some trickery to be able to test this change without adding a couple steps to the build/test process.... > Add the ability to cache data on a remote process without needing domain classes > -------------------------------------------------------------------------------- > > Key: OPENJPA-2035 > URL: https://issues.apache.org/jira/browse/OPENJPA-2035 > Project: OpenJPA > Issue Type: Improvement > Components: datacache, kernel > Affects Versions: 2.2.0 > Reporter: Rick Curtis > Assignee: Rick Curtis > Attachments: OPENJPA-2035.patch > > > I have a remote cache running and I don't want to have to add my domain classes to the remote cache's classpath. With this JIRA I'm going to lift this restriction. > Currently OpenJPAId and PCDataImpl have hard references to the domain Class files that they are operating over. We could change these references to transient and keep a hold of the stringified class names to reload the class if necessary. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira