Hello all,

I've found a new bug, but cannot really nail it down:
It's in the handling of the set-method and get-method of many-relations. As soon as 
you define one in your mapping (in my case it's a pgetXxx and psetXxx Accessor 
to the properties), following Exception occurs:
org.exolab.castor.jdo.DatabaseNotFoundException: The return type for method public 
java.util.Map de.ipcon.db.core.Gruppe.pgetBenutzer() does not match the declared 
field type de.ipcon.db.core.Benutzer
As there's also a normal getBenutzer/setBenutzer pair of accessors, and leaving the 
mapping definitions of get-method="pgetBenutzer" out of the mapping (and the 
corresponding set-method, too) "cures" the problem, the error doesn't come up.
The stacktrace show that Fieldmolder finally fails in the constructor around line 
596/420.

I'm using Castor CVS version of "NOW" (as the date of this mail).

Anyone any idea?



sincerely,

Patric Bechtel
IPCON Informationssysteme

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to