Title: bug in CVS version
|
hi brett,
i'm happy i'm not the only one with this bug. i've
reported this one some time ago, but no feedback so far.
the problem is in the FieldMolder where the wrong
class is taken to lookup the set-method. i've attached the version i use. look
for BRJ in the code.
hth jakob
----- Original Message -----
Sent: Wednesday, November 28, 2001 4:02
AM
Subject: [castor-dev] bug in CVS
version
I get the following error with the CVS version, but not the
release 0.9.3: 2001-11-28 13:59:33 init:
org.exolab.castor.mapping.MappingException: The method setEnabled in class
au.com.f2.shopping.retailer.Retailer accepting/returning
object of type boolean was not found
I have defined both setEnabled and isEnabled, and use the
following line in mapping: <field name="enabled"
type="boolean" get-method="isEnabled" set-method="setEnabled">
<sql name="enabled" type="char[01]"/> </field>
So who broke it? :)
Cheers, Brett
~*~*~*~*~*~*~ Brett Porter - Web
Developer f2 Network ~ everything essential
Ph: +61 2 8596 4437 Email:
[EMAIL PROTECTED]
|
FieldMolder.java
Description: Binary data