This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: facing problem while retrieving entity based on foreign-key which is a UserTypeadamw Mar 26, 2010 11:23 AM (in response to amit1)Hmm, weird. Could you create a JIRA issue with a reproducing test case? Adam 
- 
        2. Re: facing problem while retrieving entity based on foreign-key which is a UserTypeamit1 Apr 7, 2010 1:17 AM (in response to adamw)By specifying inverse=true for bag name="levels", envers assumes the relationship to be bidirectional and therefore it is giving the error could not resolve property: moneyId_uid since it is a unidirectional relationship. On specifying inverse="false" it is working fine. <bag name="levels" inverse="false" cascade="all-delete-orphan" outer-join="false"> 
 <key column="MONEY_ID"/>
 <one-to-many/></bag> so it is working now. Thanks 
 
    