openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dianne Richards (Updated) (JIRA)" <>
Subject [jira] [Updated] (OPENJPA-1971) Provide XML-based configuration for OpenJPA's custom metadata and mapping extensions
Date Mon, 17 Oct 2011 16:46:10 GMT


Dianne Richards updated OPENJPA-1971:

    Attachment: supported_annotations.pdf

The design for this includes an extendable schema file that copies relevant JPA schema and
has points of extension. There will then be an OpenJPA schema file which includes extensions
supporting the OpenJPA annotations. These files will be posted at a later date. But, first
I want to post some tables showing what annotation support will be initially provided. Please
feel free to provide feedback.
> Provide XML-based configuration for OpenJPA's custom metadata and mapping extensions
> ------------------------------------------------------------------------------------
>                 Key: OPENJPA-1971
>                 URL:
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: competitive, jpa, usability
>    Affects Versions: 2.2.0
>            Reporter: Jeremy Bauer
>            Assignee: Dianne Richards
>         Attachments: supported_annotations.pdf, supported_annotations.pdf
> Context: The JPA specification includes many annotations for the specification of metadata
and mapping information within Java classes.  In addition, the spec provides a means to supply
the same information within XML configuration files (orm.xml).  One primary benefit of XML
config files is it allows modification of the ORM information without needing to recompile
the source code.
> OpenJPA has many custom metadata and mapping annotations that can be used to provided
functionality beyond the JPA specification.  However, these extensions are available only
through annotations.  There is currently no means to specify the metadata or mapping extensions
via XML.  We've had several requests for this capability, but it hasn't seen much/any activity.
> Task:
> 1) Understand OpenJPA's annotation extensions.
> 2) Determine which annotations make sense to provide in XML configuration
> 3) Design a schema for the XML-based configuration file (openjpa-orm.xml?)
> 4) Creating metadata and mapping parsers for the new XML mapping file
> 5) Wire the new parsers into the existing code path.
> 6) Provide adequate jUnit tests for the new function.
> Mentor: techhusky at gmail dot com
> Complexity: moderate

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message