Hi,
I tried to set the primary key of a new entity manually - meaning I
did not set the id property in the php class to
"@GeneratedValue(strategy="IDENTITY")" but tried to set it in as code
using "
entity.id = 33".
When I try to persists this entity through the EntityManager i get an
error saying: "Error: Behaviour of persist for detached entities is
not yet defined".
Does this mean, that the id of an entity can not be set manually
(maybe possible in version 0.9?), or am I missing something?
Many thanks again
- rico