1
0
mirror of synced 2025-01-06 00:57:10 +03:00

DDC-442 - Fix example for timestamp optimistic lock

This commit is contained in:
Benjamin Eberlei 2010-04-11 14:38:19 +02:00
parent 997ef97521
commit 2a1f5e121b

View File

@ -118,7 +118,7 @@ You could also just as easily use a datetime column and instead of incrementing
class User class User
{ {
// ... // ...
/** @Version @Column(type="integer") */ /** @Version @Column(type="datetime") */
private $version; private $version;
// ... // ...
} }