seems like a bug. I will write a test case to check this out.
I am certain it is a bug. In looking at it I have realised that my earlier patch which added support for update-lock="false" was incomplete.
Both access="readonly" and update-lock="false" need to be checked in the various Sql*Statement classes in org.ojb.broker.accesslayer.sql so that these columns are not added to the prepared statements.
We may also need to add a check in the code that populates the parameters for the prepared statements.
I will submit a patch for this later today.
Regards
David -- David Warnock, Sundayta Ltd. http://www.sundayta.com iDocSys for Document Management. VisibleResults for Fundraising. Development and Hosting of Web Applications and Sites.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]