|
Combination of
-
@Entity abstract class ABlockableEntity
-
@OneToOne(fetch=FetchType.LAZY)
@JoinTable( name="QUEUE", joinColumns= @JoinColumn(name="child_id", referencedColumnName="id"), inverseJoinColumns= @JoinColumn(name="parent_id", referencedColumnName="id")) private ABlockableEntity parentId;
is failed on childs of ABlockableEntity.
Try sample project at https://github.com/qwazer/jpa_one2one_bug_report
test EventRepositoryTest failed but tests with simple entities without inheritance are OK
|