This content has been marked as final.
Show 2 replies
-
1. Re: org.hibernate.QueryException: could not resolve property
adamw Apr 30, 2009 4:53 AM (in response to afroehlich)Hello,
I don't know what your exception is, but, for restricting on primary keys of an entity, you should use the AuditEntity.id().eq(...) methods.
The "originalId" is a synthetic id which consists of the original id (pk) and the revision number. This is the primary key of the audit entity corresponding to an entity.
Adam -
2. Re: org.hibernate.QueryException: could not resolve property
afroehlich Apr 30, 2009 5:03 AM (in response to afroehlich)Ahh...yep, that's exactly what I've been looking for,
thanks alot for the fast reply!
cheers,
Alex