Bruce Snyder wrote:
>
> This one time, at band camp, Dede Ball said:
>
> DB > <class name="org.mitre.acis.portal.weather.CurrentCondition">
> DB > <map-to xml="current"/>
> DB > <field name="CityCode"
> DB > type="java.lang.String">
> DB > <bind-xml name="citycode" node="text"/>
> DB > </field>
> DB >
> DB >public class CurrentCondition {
> DB >
> DB > private String cityCode;
> DB >
> DB > public void setCityCode(String inCityCode) {
> DB > cityCode = inCityCode;
> DB > }
> DB >
> DB > public String getCityCode() {
> DB > return cityCode;
> DB > }
> DB >
> DB > }
>
> Dede,
>
> The first thing I notice is that the mapping descriptor makes
> reference to a field name of CityCode, but in the class the field
> name is actually cityCode. Fix the difference in the initial cap
> in the mapping descriptor for that field and see what results you
> get.
Hi Bruce, this isn't necessary because her bind-xml element has
name="citycode".
--Keith
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev