Hi Michael,

Actually, we decided that setUnmodifiable should not take an argument, sort of like setRollbackOnly. You can only set unmodifiable to true...

Craig

On Oct 20, 2005, at 4:24 AM, Michael Bouschen wrote:

Hi Michael,

the unmodifiable attribute in the metadata corresponds to methods
is/setUnmodifiable in the Query API, meaning setting the unmodifiable
attribute in the metadata is equivalent to calling setUnmodifiable (true)
on the Query instance created for the named query.

The assertion refers to query instances where the unmodifiable flag is
false. This makes sure that you can call any setXXX or declareXXX method
on a query instance created for a named query.

Regards Michael


Hi Craig,

assertion A14.5-15 specifies:

"The Query instance returned from this method can be modified by the
application, just like any other Query instance."

The metadata for named queries might contain a boolean attribute
"unmodifiable". In cases where that attribute is "true", is that
assertion still valid?

Regards,
Michael
--
-------------------------------------------------------------------
Michael Watzek                  [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------




--
Michael Bouschen          [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]  http://www.tech.spree.de/
Tel.:++49/30/235 520-33   Buelowstr. 66
Fax.:++49/30/2175 2012    D-10783 Berlin



Reply via email to