I've read the note that describes the <optimistic-locking> element in jbosscmp-jdbc.xml, and 3.2.0 include this in the DTD. however when I try to use it jboss rejects it at deploy, saying it does not recognise the element. I notice there are two DTDs, a 3.0 and 3.2 version. How do I force JBoss to use the 3.2 version and allow this locking element.
Next question is how to get it working in XDoclet, but one thing at a time.
Any advice will be appreciated.
add the correct doctype declaration at the beginning of your jbosscmp-jdbc.xml file... ?