[
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