Le 06/08/2014 18:10, Marcel Steves a écrit :
To summarize it as transaction:
- Delete entity
- Create new entity (which triggers a validation searching for
existenz of the same entity)
- Commit
In step 2 I need the isolation level read uncommitted.
Perhaps there is a better way using ORM but I don't know it.
But $em->remove() does not trigger any uncommented SQL query. It only
tells the ORM that the entity should be removed during the next flush.
The SQL DELETE query is done inside flush().
--
Christophe | Stof
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.