[hibernate-dev] @ManyToOne + @Basic

Steve Ebersole steve at hibernate.org
Sat Mar 15 13:48:21 EDT 2014


There is a test currently failing with the new metamodel code.  The mapping
that causes the problem has the following annotations:

@Id
@ManyToOne(...)
@JoinColumns(...)
@Basic(fetch=FetchType.LAZY)

Is it really legal to combine @ManyToOne and @Basic?  Those seem "at odds".
 My guess is that the legacy binding code simply did not validate for this.

Wdyt?


More information about the hibernate-dev mailing list