From 620319f206978441a85033157c86fffef39bfd30 Mon Sep 17 00:00:00 2001 From: Mateusz Sip Date: Tue, 24 Oct 2017 01:50:58 +0200 Subject: [PATCH] Type::convertToDatabaseValue is always called --- docs/en/cookbook/custom-mapping-types.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/cookbook/custom-mapping-types.rst b/docs/en/cookbook/custom-mapping-types.rst index 1bd4f1242..d9e38560c 100644 --- a/docs/en/cookbook/custom-mapping-types.rst +++ b/docs/en/cookbook/custom-mapping-types.rst @@ -49,8 +49,6 @@ you wish. Here is an example skeleton of such a custom type class: The following assumptions are applied to mapping types by the ORM: - - If the value of the field is *NULL* the method - ``convertToDatabaseValue()`` is not called. - The ``UnitOfWork`` never passes values to the database convert method that did not change in the request. - The ``UnitOfWork`` internally assumes that entity identifiers are