| For an embedded entity your solution worked fine, I was wondering if there was something for a relationed entity. Example: Entity A with B embedded -> B has the property b -> I successfully queried by B_b, as you said  Entity A with C with oneToOne relation -> C has the property c -> the FK to C is c and it's presend in A_AUD table but i can't query with it. If I try to write "AuditEntity.property("C.c")" I receive the error "could not resolve property C"  It has to be possible to query for something present in the table! |