2 Replies Latest reply on Apr 30, 2009 5:03 AM by Alexander Fröhlich

    org.hibernate.QueryException: could not resolve property

    Alexander Fröhlich Newbie

      Hey there,

      I just ran into this QueryException while executing the following Query unsing Envers 3.5.0-SNAPSHOT.

      auditReader.createQuery().forRevisionsOfEntity(CustomerOrderDO.class, true, false).add(

      The property is the primary key and of course exists. The corresponding column name is equal to it in the original and the audited table.

      While debugging I came across a few properties which are not properties of my entity but may be helpfull:

      ' and '
      ' .

      Does anymone know what the difference between and the purpose of these 'synthetic'-properties is?
      At the moment I'm using '
      ' instead of '
      ' but I don't know if that is the intention.

      Thanks for comments in advance,