Error ora-17004 when using JSTL sql tag
843838Dec 20 2005 — edited Dec 21 2005We are using the sql tag of JSTL inside JSP files for maintenance of simple database tables. It worked fine before but now generates ora-17004 error when user tried to insert a new record. The weird thing is that if user fills in all the fields of the record in the table, the error will not happen!
From what the error message says, invalid column type, filling all the fields won't be any better than just filling a subset of all fields. Is anybody experiencing similar problem before?
Furthermore, could somebody share the information of how to debug into JSTL code to get the sql statement just before it is sent to Oracle?
Thanks in advance!
--James