Hibernate not caching my OneToOne relationship on the inverse side
Workaround that work for me is create additional method with @OneToMany
@OneToMany(cascade={}, fetch=FetchType.EAGER, mappedBy="a")
public Set<B> getBSet() {};
@Transient
public B getB() { return b.iterator().next(); }
I'm not very happy with this solutions, but it works and I can't find other way.