Hi Anthony,

Do you have a public constructor with no parameter?

Regards,
Lee Haw

> -----Original Message-----
> From: Anthony Kong [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 02, 2003 6:19 PM
> To: '[EMAIL PROTECTED]'
> Subject: What does this error message means?
>
>
> Hi, all,
>
> I have encountered this error messages:
>
>
> [org.apache.ojb.broker.accesslayer.RsIterator] ERROR: Unable to
> build object
> instance (MAYBE you don't have a constructor available):class
> test.product:
> Class org.apache.ojb.broker.accesslayer.RowReaderDefaultImpl can
> not access
> a member of class test.product with modifiers "public"
>
> The class has 4 data member defined (as shown in the following mapping):
>
>  <field-descriptor id="1"
>          name="type"
>          column="TradeType"
>          jdbc-type="VARCHAR"
>          primarykey="true"
>          autoincrement="false"
>       />
>       <field-descriptor id="2"
>          name="subtype"
>          column="TradeSubType"
>          jdbc-type="VARCHAR"
>          primarykey="true"
>          autoincrement="false"
>       />
>       <field-descriptor id="3"
>          name="supported"
>          column="Supported"
>          jdbc-type="VARCHAR"
>       />
>       <field-descriptor id="4"
>          name="description"
>          column="Description"
>          jdbc-type="VARCHAR"
>       />
>
> I think the error message refers to the constructor. I have changed the
> constructor modifier from public to private to nothing, but the message
> still appear. How should I get rid of this error?
>
>
> Regards,
>
> Anthony
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to