Attempt to create a function that contains a compile error using Sql.execute() and the error is not reported (i.e. no exception is thrown). When running the same "create" in SqlDeveloper connected to the same database, errors are shown.
(shows error on "drop" the first time)
(the function exists afterward with an "INVALID" status)
result from SqlDeveloper:
Error(5,9): PLS-00201: identifier 'WHATHAVEYOU' must be declared