I have a PL/SQL function with BOOLEAN in parameter:
function get_something(name in varchar2, ignore_notfound in boolean);
This function is
From documentation:
You cannot insert the values
TRUEandFALSEinto a database column. You cannot select or fetch column values into aBOOLEANvariable. Functions called from aSQLquery cannot take anyBOOLEANparameters. Neither can built-inSQLfunctions such asTO_CHAR; to representBOOLEANvalues in output, you must useIF-THENorCASEconstructs to translateBOOLEANvalues into some other type, such as0or1,'Y'or'N','true'or'false', and so on.
You will need to make a wrapper function that takes an SQL datatype and use it instead.