Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

(Generating JAXB and JPA Metadata From DDL Parser Meta-model)
(Issues)
Line 9: Line 9:
  
 
=== Issues ===
 
=== Issues ===
* Default package name for generated Entities, Embeddables, etc.
+
* Default package name for generated Entities, Embeddables, etc. (i.e. anything not in a PL/SQL package)?
 
* Query names - what would be the default name for a query generated from a stored procedure, custom SQL, etc.?
 
* Query names - what would be the default name for a query generated from a stored procedure, custom SQL, etc.?
 
* For non-Oracle databases, JDBCHelper returns meta-model objects that extend the DDLParser meta-model - should this functionality be taken into consideration here as well?
 
* For non-Oracle databases, JDBCHelper returns meta-model objects that extend the DDLParser meta-model - should this functionality be taken into consideration here as well?

Revision as of 10:48, 12 July 2013

Generating JAXB and JPA Metadata From DDL Parser Meta-model

The EclipseLink DBWS design time component (a.k.a. DBWSBuilder) generates OR and OX projects for use by the runtime component - these project instances are built using DDLParser generated meta-model objects. Since EclipseLink 2.5, DBWS generates and writes out JAXB and JPA metadata (DBWS Metadata Support) based on the OR/OX projects. When considering JAXB/JPA metadata generation consolidation among various components, it would make sense to have the ability to generate metadata directly from the DDLParser generated metamodel, then bootstrap DBWS builder, JPA-RS, etc. from this metadata. This would allow the DDLParser and metadata generation piece proposed here to be standalone components, available to whomever requires this generated metadata.

JPA Metadata Generation

  • TBD

JAXB Metadata Generation

  • TBD

Issues

  • Default package name for generated Entities, Embeddables, etc. (i.e. anything not in a PL/SQL package)?
  • Query names - what would be the default name for a query generated from a stored procedure, custom SQL, etc.?
  • For non-Oracle databases, JDBCHelper returns meta-model objects that extend the DDLParser meta-model - should this functionality be taken into consideration here as well?

Back to the top