duan20081202 2013-05-08 00:09
浏览 44
已采纳

还是不支持Doctrine2 OneToMany单向映射?

I saw old reference (3 years ago) to OneToMany Unidirectional (foreign key) not being implemented: https://groups.google.com/d/msg/doctrine-user/y8du6cafhdA/QnY_h8NjD10J

I don't see it in current documentation and have also tried using JPA 2.0 onetomany unidirectional annotations and they don't work on Doctrine 2.3.3.

So can I assume OneToMany Unidirectional is still not implemented?

  • 写回答

1条回答 默认 最新

  • douzi1991 2013-05-13 14:51
    关注

    OneToMany Unidirectional is still not implemented as of Doctrine 2.3.3. I base this on the following response from Doctrine User Google Group:

    https://groups.google.com/forum/#!topic/doctrine-user/rXLvbhbBXj0

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?