Difference between revisions of "EclipseLink/Examples/DBWS/DBWSBasicAutoGenSchema"

From Eclipsepedia

Jump to: navigation, search
Line 8: Line 8:
 
__NOTOC__  
 
__NOTOC__  
  
TBD
+
== sdfsdf ==
 +
 
 +
The use-case is the creation of a Web service that exposes the results of executing some custom SQL <tt>SELECT</tt> statement, without exposing the actual SQL. Currently, DBWS determines the 'shape' of the returned result at the time the <tt>SELECT</tt> statement is executed (i.e. at runtime, not design-time). For example, the  following <tt>DBWSBuilder</tt> file produces a SXF (Simplified XML Format) document where the element tag names are direct copies of column names:
 +
<source lang="xml">

Revision as of 13:57, 13 June 2011


sdfsdf

The use-case is the creation of a Web service that exposes the results of executing some custom SQL SELECT statement, without exposing the actual SQL. Currently, DBWS determines the 'shape' of the returned result at the time the SELECT statement is executed (i.e. at runtime, not design-time). For example, the following DBWSBuilder file produces a SXF (Simplified XML Format) document where the element tag names are direct copies of column names: