Joined: Mon Jul 03, 2006 1:14 am Posts: 6 Location: Bangalore, India
|
Hi,
I am trying to implement automatic optimistic concurrency control in my application using version field. I have given the following mapping in my xml file:
<version name="RECORD_VERSION" column="RECORD_VERSION"/>
I am getting the following exception while trying to map the version field in the xml mapping file:
org.hibernate.MappingException: Could not read mappings from resource: india/data/project3/portal/bo/BOAddressInfo.xml
Caused by: org.xml.sax.SAXParseException: Element "class" does not allow "version" here.
Thanks for ur help in advance.
Gopal
|
|