Hi,
It seems the following code in FieldMolder#findAccessor(...) is amended suspiciously: 

746:                //else if ( ! Types.typeFromPrimitive( method.getReturnType() 
).isAssignableFrom( Types.typeFromPrimitive( fieldType ) ) )
747:                else if ( ! Types.typeFromPrimitive( fieldType ).isAssignableFrom( 
Types.typeFromPrimitive( method.getReturnType() ) ) )
748:                    throw new MappingException( 
"mapping.accessorReturnTypeMismatch",
749                                                method, fieldType.getName() );

The commented out line looks correct. "getMethod" return type is to be checked and the 
field type might be assignable f

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

Reply via email to