I am unsing Commons DBUtils Oracle 11g Prepared Statement to insert values in my database.
My syntax resembles the following: insert into tablename (col_names) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
I have 10 columns. I am using ? to fill params at runtime.
When I run QueryRunner.insert command I get an exception that it is expecting 11 parameters and I am providing 10. ( the count 11 is coming from some internal class that is setting its count_param to be 11 - I could not figure why)
Is this syntax correct for insert statement?