In NewInvocationNode class, bindExpressions method, we
get an error if we try to pass in a ValueNode as a
parameter.

ERROR 42X75: No constructor was found with the
signature <<...>>.  It may be that the parameter types
are not method invocation convertible.

Which classes are acceptable as parameters for
NewInvocationNode? 

Here's the code...
if (method == null)
{
/* Put the parameter type names into a single string
*/
String  parmTypes = "";
for (int i = 0; i < parmTypeNames.length; i++)
{
        if (i != 0)
                parmTypes += ", ";
        parmTypes += (parmTypeNames[i].length() != 0 ?
                                                parmTypeNames[i] :
                                                MessageService.getTextMessage(  
                                
SQLState.LANG_UNTYPED)                                          );
                        }

throw
StandardException.newException(SQLState.LANG_NO_CONSTRUCTOR_FOUND,
javaClassName, parmTypes);
}


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to