1
0
mirror of synced 2025-02-09 08:49:26 +03:00

Type::convertToDatabaseValue is always called

This commit is contained in:
Mateusz Sip 2017-10-24 01:50:58 +02:00
parent 5f3afa4c4f
commit 620319f206

View File

@ -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: 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 - The ``UnitOfWork`` never passes values to the database convert
method that did not change in the request. method that did not change in the request.
- The ``UnitOfWork`` internally assumes that entity identifiers are - The ``UnitOfWork`` internally assumes that entity identifiers are