I just changed ns_ora dml $db sql -bind [ns_getform] to db_dml $db sql -bind [ns_getform].
I have to change ns_ora dml $db "commit" too?