Hi Tom,

On 20 January 2015 at 10:32, Tom <[email protected]> wrote:

> Hello,
>
> I'm having trouble setting up my hierarchy. Here is what i want to achieve:
>
> @Entity @InheritanceType("JOINED")
> BaseClasse
>     $application => @Id @ManyToOne
>     $user          => @Id @ManyToOne
>
> SubClass extends BaseClass
>
> Which leads me to the following exception:
> [InvalidArgumentException] Incomplete definition. 'columns' required.
>
>
> Is this use case supported by Doctrine ?
>

This use-case should actually be supported, but identities through a
foreign identity are usually discouraged since there are a lot of messy
problems that you may run into.

Consider validating your mappings first.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

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