For doing the concurrency control in mapping xml through a timestamp field and this timestamp field in my case is a member of another object, which is encapsulated in the main object.
I am specifying this versioning in the following way:
<version name="lastUpdateEventTS"
column="lastUpdateEventTS"
access="RptCommon"/>
<property name="filterName"/>
<property name="loginID"/>
<property name="queryString"/>
<property name="expressionID"/>
<component name="RptCommon" class="RptCommon">
<property name="lastUpdateActionCode"/>
<property name="lastUpdateEventTS"/>
<property name="lastUpdateUserID"/>
<property name="dateActive"/>
<property name="dateInactive"/>
</component>
RptCommon is encapsulated within the main object and the timestamp field belongs to RptCommon class only.
On deploying, I get the error saying "net.sf.hibernate.MappingException: could not instantiate PropertyAccessor class".
Has anyone any clue on that ?
|