Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Development/DBWS/ParseDDLDS

< EclipseLink‎ | Development‎ | DBWS
Revision as of 16:04, 31 May 2011 by Unnamed Poltroon (Talk) (Parsing DDL for Metadata)

Parsing DDL for Metadata

The primary job of DBWSBuilder is to extract metadata from the database about some artifact such as a Table or a StoredProcedure that will be used as the basis of (JAX-WS compliant) Web Service. The DBWSBuilder translates the information (fields, arguments, scalar or complex datatypes, etc.) into EclipseLink ORM and OXM files. Thus it is crucial that DBWSBuilder get complete and accurate metadata from the database.

For Oracle databases, DBWSBuilder uses a modified cut-down version of the JPublisher classes to send SQL queries to Data Dictionary views (ALL_OBJECTS, ALL_ARGUMENTS, etc.) that is then converted to an in-memory object-graph of all relevant information about the specific database artifact required for the Web Service. This object-graph is then walked

Back to the top