Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313803 - Support for XML ORM annotations in XSD models
Summary: Support for XML ORM annotations in XSD models
Status: NEW
Alias: None
Product: EMFT
Classification: Modeling
Component: Texo (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 15:49 EDT by pesco CLA
Modified: 2010-05-20 16:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pesco CLA 2010-05-20 15:49:13 EDT
Texo (and Teneo) should support XML annotations from the Java Persistence ORM schema, similarly to how they are handled in HyperJaxb3.
Comment 1 Martin Taal CLA 2010-05-20 16:07:50 EDT
An example:

  <xsd:schema
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
              xmlns:hj="http://hyperjaxb3.jvnet.org/ejb/schemas/customizations"
              xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
              jaxb:extensionBindingPrefixes="hj orm">

              <!-- ... -->

              <xsd:complexType name="USAddress">
                      <xsd:annotation>
                              <xsd:appinfo>
                                      <hj:entity>
                                              <orm:table name="address"/>
                                      </hj:entity>
                              </xsd:appinfo>
                      </xsd:annotation>

                      <!-- ... -->

              </xsd:complexType>

              <!-- ... -->
       </xsd:schema>