Hey Stan,

You will likely need to handle this sort of limit by using `postPersist`
and manually scheduling insert operations for your log entries.

Cheers,

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 11 March 2014 22:02, Stan Lemon <[email protected]> wrote:

> Hello,
> I'm trying to save what is essentially a Log object in an onFlush event
> listener.  The log object is used to reference various objects in my system
> and has fields like 'object_type' and 'object_id'. So I essentially want to
> Log->setObjectId($entity->getId()); This works great if the object is
> already persisted, but on the initial save I don't have an id.  I'm
> wondering if there is a way to get a proxy of what the id will be or
> something that I can do to make this possible.
>
> Thanks,
> Stan
>
>  --
> 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.
>

-- 
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.

Reply via email to