[coldbox-3.8.1] convertValueToJavaType error

this:

criteria.ISEQ(“doctorID”,criteria.convertValueToJavaType(“doctorID”,doctor.getID()));

doctorID is sadly a string value in the table. thats probably why i need to case it from a number.

throws this:

Message | The fromStringValue method was not found. |

  • | - |
    Detail | Either there are no methods with the specified method name and argument types or the fromStringValue method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. |

line in BaseORMService.convertValueToJavaType() throwing error:

return hibernateMD.getPropertyType(arguments.propertyName).fromStringValue(arguments.value);

i can dump hibernateMD.getPropertyType(arguments.propertyName), which shows the meta for fromStringValue(). but when i dump hibernateMD.getPropertyType(arguments.propertyName).fromStringValue, i get:

anyone?

Hmm, that is weird. doctorID is a string, but what is doctor.getID(). Perhaps just javacast it.

Curt