-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Problem implementing optimistic concurrency control
PostPosted: Mon Jul 03, 2006 1:37 am 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.