readonly test works for me if the fileds are declared as readonly ;) in the repository
<field-descriptor
name="readonlyString"
column="RO_STRING"
jdbc-type="VARCHAR"
access="readonly"
/> <field-descriptor
name="readonlyLong"
column="RO_LONG"
jdbc-type="BIGINT"
access="readonly"
/>jakob
Armin Waibel wrote:
Great! ----- Original Message ----- From: "David Warnock" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Friday, May 30, 2003 11:59 AM Subject: Re: OJB is updating read-only columns
Armin,incomplete.
seems like a bug. I will write aI am certain it is a bug. In looking at it I have realised that my
test case to check this out.
earlier patch which added support for update-lock="false" was
Both access="readonly" and update-lock="false" need to be checked inthe
various Sql*Statement classes in org.ojb.broker.accesslayer.sql sothat
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
