Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/DBWS/BootstrapBuilderFromXMLEntityMappings"

(Bootstrap DBWSBuilder from XMLEntityMappings)
(Bootstrap DBWSBuilder from XMLEntityMappings)
Line 1: Line 1:
 
== Bootstrap DBWSBuilder from XMLEntityMappings ==
 
== Bootstrap DBWSBuilder from XMLEntityMappings ==
 
DBWSBuilder currently builds an EclipseLink object relational (OR) project from the DDL meta-model returned from the DDLParser.  This project is then used to build the various files (XSD, WSDL, etc) required for the web service.  This processing is complex and hard to maintain.  JPAMetadataGenerator ([http://wiki.eclipse.org/EclipseLink/Development/DBWS/MetadataGenerationFromDDLMetaModel Metadata Generation from DDL meta-model]) can generate and XMLEntityMappings instance from the DDL meta-model;  the XMLEntityMappings instance contains an OR project, and DBWSBuilder should be bootstrapped from this as opposed to creating the project.
 
DBWSBuilder currently builds an EclipseLink object relational (OR) project from the DDL meta-model returned from the DDLParser.  This project is then used to build the various files (XSD, WSDL, etc) required for the web service.  This processing is complex and hard to maintain.  JPAMetadataGenerator ([http://wiki.eclipse.org/EclipseLink/Development/DBWS/MetadataGenerationFromDDLMetaModel Metadata Generation from DDL meta-model]) can generate and XMLEntityMappings instance from the DDL meta-model;  the XMLEntityMappings instance contains an OR project, and DBWSBuilder should be bootstrapped from this as opposed to creating the project.
 +
 +
== Open Issues ==
 +
An umbrella EclipseLink bug will be opened to track this work:  [https://bugs.eclipse.org/bugs/show_bug.cgi?id=413993 Bug 413993 - DBWS: Builder should bootstrap from JPA metadata (a.k.a. XMLEntityMappings)]
 +
 +
Blocking bugs will be opened to track individual pieces of work:
 +
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=413995 Bug 413995 - DBWS: Service descriptor needs to be built from NamedNativeQueryMetadata]

Revision as of 09:06, 30 July 2013

Bootstrap DBWSBuilder from XMLEntityMappings

DBWSBuilder currently builds an EclipseLink object relational (OR) project from the DDL meta-model returned from the DDLParser. This project is then used to build the various files (XSD, WSDL, etc) required for the web service. This processing is complex and hard to maintain. JPAMetadataGenerator (Metadata Generation from DDL meta-model) can generate and XMLEntityMappings instance from the DDL meta-model; the XMLEntityMappings instance contains an OR project, and DBWSBuilder should be bootstrapped from this as opposed to creating the project.

Open Issues

An umbrella EclipseLink bug will be opened to track this work: Bug 413993 - DBWS: Builder should bootstrap from JPA metadata (a.k.a. XMLEntityMappings)

Blocking bugs will be opened to track individual pieces of work: