From 75d9e56dcb4a262801f5df1fae5927857a58fdfd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Oct 2011 17:12:37 +0200 Subject: Mention MySQL foreign key constraint limitations --- doc/manual.xhtml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc') diff --git a/doc/manual.xhtml b/doc/manual.xhtml index 20bdf89..6c1c57c 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -535,6 +535,13 @@ for consistency. 12.2MySQL Database Class 12.3MySQL Connection and Connection Factory 12.4MySQL Exceptions + + 12.5MySQL Limitations + + +
12.5.1Foreign Key Constraints
+ + @@ -10195,6 +10202,21 @@ namespace odb what() function returns a human-readable description of an error.

+

12.5 MySQL Limitations

+ +

The following sections describe MySQL-specific limitations imposed + by the current MySQL and ODB runtime versions.

+ +

12.5.1 Foreign Key Constraints

+ +

ODB relies on standard SQL behavior which requires that foreign + key constraints checking is deferred until the transaction is + committed. The only behaviors supported by MySQL are to either + check such constraints immediately (InnoDB engine) or to ignore + foreign key constraints altogether (all other engines). As a + result, schemas generated by the ODB compiler for MySQL have + foreign key definitions commented out. They are retained only + for documentation.

-- cgit v1.1