Yes that looks fishy. The only explanation I can see is if that approach is
supposed to use the byte code enhancement lazy as opposed to proxy but AFAIR we
have different annotations to express that.
On 15 Mar 2014, at 18:48, Steve Ebersole wrote:
> There is a test currently failing with the n
riginal Message -
From: "Steve Ebersole"
To: "hibernate-dev"
Sent: Saturday, March 15, 2014 1:48:21 PM
Subject: [hibernate-dev] @ManyToOne + @Basic
There is a test currently failing with the new metamodel code. The mapping
that causes the problem has the following annotations
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 l