Skip to content
Advertisement

java.sql.SQLSyntaxErrorException: ORA-00947: not enough values

When I insert the values and run the code, it shows me

Error

could someone explain for me? thank you

Advertisement

Answer

Update your SQL statement to use columns name like this:

, best practice to use PreparedStatement to avoid SQL Injection

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement