Hibernate version: 3.2.0GA
Let's suppose to have two entities, A and B.
A has an id and a one-to-one constrained relationship to B (PK relationship) called "bRel".
B has only an id.
The following HQL query:
from A a, B b where a.bRel = b
works perfectly in Hibernate 3.1.x, but fails on 3.2 with:
org.hibernate.TypeMismatchException: left and right hand sides of a binary logic operator were incompatibile [B : B].
I know that is possible to use the join syntax, but isn't this supposed to work?
Is direct object comparison deprecated in HB 3.2?
|