Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 112 invoked from network); 2 Oct 2006 22:13:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 22:13:30 -0000 Received: (qmail 31982 invoked by uid 500); 2 Oct 2006 22:13:23 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 31417 invoked by uid 500); 2 Oct 2006 22:13:21 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list general@ws.apache.org Received: (qmail 31405 invoked by uid 99); 2 Oct 2006 22:13:21 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 15:13:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [192.87.106.226] ([192.87.106.226:53855] helo=ajax.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 55/79-24395-DFE81254 for ; Mon, 02 Oct 2006 15:13:20 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3E240D495D for ; Mon, 2 Oct 2006 23:13:02 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: general@ws.apache.org Date: Mon, 02 Oct 2006 22:13:02 -0000 Message-ID: <20061002221302.15683.55440@ajax.apache.org> Subject: [Ws Wiki] Update of "Tuscany/TuscanyJava/DAS Java Overview/RDBDAS Java User Guide/ResultSet-driven metadata" by KevinWilliams X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: general-unsubscribe@ws.apache.org For additional commands, e-mail: general-help@ws.apache.org