diff --git a/reference/sdo/reference.xml b/reference/sdo/reference.xml index 90e18f6a3e..398a87afdf 100644 --- a/reference/sdo/reference.xml +++ b/reference/sdo/reference.xml @@ -29,7 +29,7 @@ - SDO_DAS_Relational + SDO_DAS_Relational A PDO-based Data Access Service supporting reading/writing SDO diff --git a/reference/sdodasrel/book.xml b/reference/sdodasrel/book.xml index a7ea92f7b8..ed3a2d9258 100644 --- a/reference/sdodasrel/book.xml +++ b/reference/sdodasrel/book.xml @@ -125,7 +125,7 @@ database without a preliminary call to executeQuery, for example. This scenario and others are explored in the - Examples + Examples section below. diff --git a/reference/sdodasrel/examples.xml b/reference/sdodasrel/examples.xml index 08fbec2608..9beb7c37d2 100644 --- a/reference/sdodasrel/examples.xml +++ b/reference/sdodasrel/examples.xml @@ -1,9 +1,9 @@ - + &reftitle.examples; -
+
Creating, retrieving, updating and deleting data This section illustrates how the Relational DAS can be used to create, @@ -67,7 +67,7 @@
-
+
Specifying the metadata This first long section describes in detail how the metadata describing @@ -89,7 +89,7 @@ database is to be normalized into a graph. -
+
Database metadata The first argument to the constructor describes the target @@ -314,7 +314,7 @@ create table employee ( \ database, the database metadata should be easy to construct. -
+
What the Relational DAS does with the metadata The Relational DAS uses the database metadata to form most of the @@ -336,14 +336,14 @@ create table employee ( \ metadata in the third argument to the constructor that defines the SDO containment relationships. A discussion of this is therefore deferred until the section on - + SDO containment relationships below.
-
+
Specifying the application root type The second argument to the constructor is the application root type. @@ -356,7 +356,7 @@ create table employee ( \
-
+
Specifying the SDO containment relationships @@ -432,10 +432,10 @@ $SDO_containment_metadata = array($department_containment, $employee_containment below.
-
-
+
+
-
+
One-table examples The following set of examples all use the Relational DAS to work with @@ -489,7 +489,7 @@ $SDO_containment_metadata = array($department_containment, $employee_containment object, modify it, and apply the newer changes a second time. - + applyChanges($dbh, $root); id. If there were no possible ambiguity it could be omitted. - + - + applyChanges($dbh,$root); containing property (the property defining the containment relationship). It is also possible to delete them individually. - + applyChanges($dbh,$root);
-
+
Two-table examples The following set of examples all use two tables from the company @@ -745,7 +745,7 @@ $das->applyChanges($dbh,$root); co_id column when inserting the department row. - + applyChanges($dbh, $root); for multiple companies and multiple departments underneath them. - + applyChanges($dbh, $root); property which in this case is the company property on the special root object. You must use: - + and not: - + - + applyChanges($dbh, $root);
-
+
Three-table example The following examples use all three tables from the company database: @@ -982,7 +982,7 @@ $das -> applyChanges($dbh, $root); primary key known, a final step is performed in which the company record is updated with the employee's primary key. - + - + - + - + Limitations There are the following limitations in the current release of the diff --git a/reference/sdodasrel/reference.xml b/reference/sdodasrel/reference.xml index 69d2cb4c5d..9b447b7021 100644 --- a/reference/sdodasrel/reference.xml +++ b/reference/sdodasrel/reference.xml @@ -1,13 +1,13 @@ - + SDO-DAS-Relational &Functions; -
+
&reftitle.classes; The Relational DAS provides two classes: the Relational DAS itself and @@ -26,7 +26,7 @@ -
+
<classname>SDO_DAS_Relational</classname> @@ -34,7 +34,7 @@ The only object other than an SDO_DAS_Relational_Exception with which the application is expected to interact. -
+
&reftitle.methods; @@ -88,7 +88,7 @@
-
+
<classname>SDO_DAS_Relational_Exception</classname> diff --git a/reference/sdodasrel/sdo_das_relational/applyChanges.xml b/reference/sdodasrel/sdo_das_relational/applyChanges.xml index 124754fafb..81d79196b8 100644 --- a/reference/sdodasrel/sdo_das_relational/applyChanges.xml +++ b/reference/sdodasrel/sdo_das_relational/applyChanges.xml @@ -44,7 +44,7 @@ Constructed using the PDO extension. A typical line to construct a PDO database handle might look like this: - + @@ -119,11 +119,11 @@ $dbh = new PDO("mysql:dbname=COMPANYDB;host=localhost",DATABASE_USER,DATABASE_PA &reftitle.examples; Please see the - Examples + Examples section in the general information about the Relational DAS for many examples of calling this method. Please see also the section on - Tracing + Tracing to see how you can see what SQL statements are generated by the Relational DAS. diff --git a/reference/sdodasrel/sdo_das_relational/construct.xml b/reference/sdodasrel/sdo_das_relational/construct.xml index 8afdf81bc5..5d1499305a 100644 --- a/reference/sdodasrel/sdo_das_relational/construct.xml +++ b/reference/sdodasrel/sdo_das_relational/construct.xml @@ -50,7 +50,7 @@ PK, and optionally, FK. For a full discussion of the metadata, see the - metadata + metadata section in the general information about the Relational DAS. @@ -86,7 +86,7 @@ and there are no containment relations in the model, this argument can be omitted. For a full discussion of the metadata, see the - metadata + metadata section in the general information about the Relational DAS. @@ -115,7 +115,7 @@ &reftitle.examples; For a full discussion of the metadata, see the - metadata + metadata section in the general information about the Relational DAS. diff --git a/reference/sdodasrel/sdo_das_relational/createRootDataObject.xml b/reference/sdodasrel/sdo_das_relational/createRootDataObject.xml index 4ec992fef7..c46122b79f 100644 --- a/reference/sdodasrel/sdo_das_relational/createRootDataObject.xml +++ b/reference/sdodasrel/sdo_das_relational/createRootDataObject.xml @@ -67,7 +67,7 @@ &reftitle.examples; Please see the - Examples + Examples section in the general information about the Relational DAS for many examples of calling this method. diff --git a/reference/sdodasrel/sdo_das_relational/executePreparedQuery.xml b/reference/sdodasrel/sdo_das_relational/executePreparedQuery.xml index b4e00a4560..7ebe4cc76b 100644 --- a/reference/sdodasrel/sdo_das_relational/executePreparedQuery.xml +++ b/reference/sdodasrel/sdo_das_relational/executePreparedQuery.xml @@ -71,7 +71,7 @@ Constructed using the PDO extension. A typical line to construct a PDO database handle might look like this: - + @@ -144,7 +144,7 @@ $dbh = new PDO("mysql:dbname=COMPANYDB;host=localhost",DATABASE_USER,DATABASE_PA All of the examples in the - Examples + Examples use a column specifier. There is one example in the Scenarios @@ -214,7 +214,7 @@ $dbh = new PDO("mysql:dbname=COMPANYDB;host=localhost",DATABASE_USER,DATABASE_PA can be found in the example code supplied in sdo/DAS/Relational/Scenarios. - + + @@ -108,7 +108,7 @@ $dbh = new PDO("mysql:dbname=COMPANYDB;host=localhost",DATABASE_USER,DATABASE_PA All of the examples in the - Examples + Examples use a column specifier. There is one example in the Scenarios @@ -161,7 +161,7 @@ $dbh = new PDO("mysql:dbname=COMPANYDB;host=localhost",DATABASE_USER,DATABASE_PA &reftitle.examples; Please see the - Examples + Examples section in the general information about the Relational DAS for many examples of calling this method. diff --git a/reference/sdodasrel/setup.xml b/reference/sdodasrel/setup.xml index 4c254f8398..800feccfc1 100644 --- a/reference/sdodasrel/setup.xml +++ b/reference/sdodasrel/setup.xml @@ -109,7 +109,7 @@ require_once 'SDO/DAS/Relational.php';
&reftitle.runtime; &no.config; -
+
Tracing You may be interested in seeing the SQL statements that are generated