As about your first error: in OneToOne case, joining coloumn of both sides
must be primary key, in owning side must be auto  incremented and in
inverse side not. I guess in your Addess entity you have a separate id
coloumn? If yes drop it and set AdressId as a primary key but not auto
incremented. Also in your owning side, e.g. User entity, i don't see a
mappedBy. You need to add it.

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