mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 06:18:56 +00:00

still using this, after discussion on the phpdoc list. From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
82 lines
3 KiB
XML
82 lines
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<chapter xml:id="sdo.das.rel.limitations" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Limitations</title>
|
|
<para>
|
|
There are the following limitations in the current release of the
|
|
Relational DAS:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>
|
|
No support for nulls. There is no support for SQL NULL type.
|
|
It is not legal to assign PHP NULL to a data object property
|
|
and the Relational DAS will not write that back as a NULL to the
|
|
database. If nulls are found in the database on a query,
|
|
the property will remain unset.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Only two types of SDO relationship. The metadata described below
|
|
allows the Relational DAS to model just two types of SDO relationship:
|
|
multi-valued containment relationships and single-valued
|
|
non-containment references. In SDO, whether a property describes a
|
|
single- or multi-valued relationship, and whether it is containment
|
|
or non-containment, are independent. The full range of possibilities
|
|
that SDO allows cannot all be defined. There may be relationships
|
|
that it would be useful to model but which the current implementation
|
|
cannot manage.
|
|
One example is a single-valued containment relationship.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
No support for the full range of SDO data types. The Relational
|
|
DAS defines all primitive properties in the SDO model as being
|
|
of type string. SDO defines a richer set of types containing various
|
|
integer, float, boolean and data and time types. String is adequate
|
|
for the purposes of the Relational DAS since the combination of PHP,
|
|
PDO and the database will ensure that values passed as strings
|
|
will be converted to the proper type before being put in the database.
|
|
This does affect some scenarios in which the Relational DAS has
|
|
to work with a data graph that has come from or will go to a
|
|
different DAS.
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Only one foreign key per table.
|
|
The metadata only provides the means to specify one foreign key
|
|
per table. This foreign key may be mapped to one of the two types of
|
|
SDO relationship supported. Obviously there are some scenarios
|
|
that cannot be described under this limitation - it is not possible
|
|
to have two non-containment references from one table to another
|
|
for example.
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|