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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to