I found that using ORM Property lifecycle callbacks has export to orm problems. (Symfony2 Doctrine 2)
I added a prepersist method and after export I found out that
@ORM\HasLifecycleCallbacks added correctly to the entity but PrePersist does not added to the specified method.
Or it is not supposed to do that?