Unidirectional vs bidirectional ManyToOne


At http://docs.jboss.org/hibernate/orm/5.3/userguide/html_single/Hibernate_User_Guide.html#best-practices-mapping-associations it is stated that “Bidirectional associations are usually a better choice because the @ManyToOne side controls the association”.

Does this mean that a unidirectional @ManyToOne relationship is worse than a bidirectional one?


No. A unidirectional @ManyToOne is just as good a a bidirectional @OneToMany. The comparison was between bidirectional and unidirectional @OneToMany.


Thanks for clarifying.