简体   繁体   English

尚不支持Doctrine2 OneToMany单向映射吗?

[英]Doctrine2 OneToMany Unidirectional Mapping Still Not Supported?

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 我看到旧的参考文献(3年前)尚未实现OneToMany单向(外键): 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. 我在当前文档中没有看到它,也尝试过使用JPA 2.0 onetomany单向注释,它们在Doctrine 2.3.3上不起作用。

So can I assume OneToMany Unidirectional is still not implemented? 那么我可以假设OneToMany单向仍未实现吗?

OneToMany Unidirectional is still not implemented as of Doctrine 2.3.3. 从教义2.3.3开始,仍未实现OneToMany单向。 I base this on the following response from Doctrine User Google Group: 我基于以下来自Doctrine User Google Group的回复:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM