Try something like this:
select insertStudent('@Value(student_name)',
'@Value(student_address)',
'@Value(student_class)') as "student_id"
from dual
This assumes that you have the attributes student_name, student_address and student_class entering the SQLExecutor. You should get one feature back with the attribute student_id, which you'll have to expose manually in the SQLExecutor.
Try something like this:
select insertStudent('@Value(student_name)',
'@Value(student_address)',
'@Value(student_class)') as "student_id"
from dual
This assumes that you have the attributes student_name, student_address and student_class entering the SQLExecutor. You should get one feature back with the attribute student_id, which you'll have to expose manually in the SQLExecutor.
Thanks David, this technique does not work when your function is performing DML operations. Error i got from FME
did not succeed; error was `ORA-14551: cannot perform a DML operation inside a query