Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by KevinWilliams: http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview/RDBDAS_Java_User_Guide/ResultSet-driven_metadata ------------------------------------------------------------------------------ - = !ResultSet-driven Metadata = - The RDB DAS uses JDBC [http://java.sun.com/j2se/1.3/docs/api/java/sql/ResultSetMetaData.html ResultSetMetadata] to create the set of SDO Types used to construct the data graph returned as a result of a query. JDBC provides an instance of ResultSet to return the data reulting from a query execution and this data is organized as rows of column values. The associated !ResultSetMetadata provides information about the values. For example, table name, column name, column type, etc are provided for each returned column value in the !ResultSet. For example, consider a database with the following table: @@ -20, +18 @@ DataObject root = readCustomers.executeQuery(); }}} - The DAS will returns a graph of !DataObjects each of Type CUSTOMER and each instance in will have three properties: (ID, LASTNAME, ADDRESS). Since this example does not pass the DAS a set of SDO Types to use, the DAS creates the Types dynamically based on the !ResultSetMetadata + The DAS returns a graph of !DataObjects each of Type CUSTOMER and each instance will have three properties: (ID, LASTNAME, ADDRESS). Since this example does not pass the DAS a set of SDO Types to use, the DAS creates the Types dynamically based on the !ResultSetMetadata --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
