From: Adam A. <aam...@ac...> - 2005-01-29 02:23:11
|
After upgrading xdoclet from 1.2.1 to 1.2.2, we found that the "verify-columns" field was no longer added to the table-map for an entity bean with optimistic concurrency-stragegy. The bean previously had the following relevant tags: * @weblogic.cache * read-timeout-seconds="0" * concurrency-strategy="Optimistic" * verify-columns="Modified" * cache-between-transactions="True" However, it appears that "verify-columns" has been moved elsewhere, but it is not clear where, as it is not documented clearly. I have tried: * @weblogic.table-map * verify-columns="Modified" and * @weblogic.persistence * verify-columns="Modified" but neither work. I still get the following error from ejbc: ERROR: Error from ejbc: [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was: In the RDBMS CMP bean 'Profile', the table-map element for table 'pcss_profiles' does not specify a verify-columns element. An RDBMS CMP bean that uses the 'Optimistic' concurrency strategy must specify a verify-columns value for each DBMS table to which it is mapped. And looking in the weblogic-cmp-rdbms-jar.xml file does indeed show that the verify-columns tag is missing. Thanks! -Adam |