Hi Craig,

I tried your proposal and changed the return type of the getter. The configuration companyAnnotatedAllRelationshipsFCPM now passes.
I checked it the fix (see revision 560602).

Regards Michael

 Interesting error.

According to Java, methods
    public FCDSDentalInsurance getDentalInsurance()
and
    public void setDentalInsurance(IDentalInsurance dentalInsurance)
implement the methods in IEmployee
    IDentalInsurance getDentalInsurance();
    void setDentalInsurance(IDentalInsurance dentalInsurance);
but springbeans doesn't think the methods are paired.

Changing the return type of getDentalInsurance() to IDentalInsurance (as is done by should fix it.

I don't have time to fix it just now. I'll pick it up next time I'm online.

Craig

[java] 001 error: org.springframework.beans.NotWritablePropertyException: Invalid property 'dentalInsurance' of bean class [org.apache.jdo.tck.pc.companyAnnotatedFC.FCDSFullTimeEmployee]: Bean property 'dentalInsurance' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
    [java] derby-dsid-companyAnnotatedAllRelationshipsFCPM-junit.txt:
[java] ** Tests run: 001, Time: 002 seconds. Failures: 0, Errors: 1

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!



--
[EMAIL PROTECTED] Engineering GmbH  Tel.: +49/(0)30/235 520-33
Buelowstr. 66                Fax.: +49/(0)30/217 520-12
10783 Berlin mailto:[EMAIL PROTECTED]
Geschaeftsfuehrung: Anna-Kristin Proefrock
Sitz Berlin, Amtsgericht Charlottenburg, HRB 564 52

Reply via email to