Jeff, OpenJPA-specific annotations (such as org.apache.openjpa.persistence.DataCache) do not have corresponding xml elements. We have an existing JIRA Issue to address this issue ( https://issues.apache.org/jira/browse/OPENJPA-125). We also have an open Issue for the specific problem you are describing where the annotation does not seem to override any corresponding xml descriptors ( https://issues.apache.org/jira/browse/OPENJPA-87). So, known issues that just haven't risen to the top yet...
Kevin <../javadoc/org/apache/openjpa/persistence/DataCache.html> On Thu, Mar 13, 2008 at 12:09 PM, Jeff Melching <[EMAIL PROTECTED]> wrote: > In my application we use orm.xml files rather than annotations to specify > the entities. I am trying to disable the DataCache for certain entities, > but my @DataCache(enabled=false) is being ignored even when I specify > metadata-complete="false" in my orm file. If switch over the entity to > use pure annotations, everything works fine. > > Is there any support for adding openjpa specific features when using orm > mapping files, or is this just a bug? > > -Jeff
