Home > Back-end >  Cause: the Java. SQL. SQLSyntaxErrorException: Unknown column 'Desciption' in 'field
Cause: the Java. SQL. SQLSyntaxErrorException: Unknown column 'Desciption' in 'field

Time:11-22

Java, SQL, SQLSyntaxErrorException: an error occurred while updating the database,
Unknown column in the "list of fields" "Desciption" might involve com. The university entrance exam. Dao. The university entrance exam _single_managenment_dao, there was an error in setting parameter

 # # # 
Error updating the database. Cause: Java. SQL. SQLException: Field 'ID' doesn 't have a default value



Error reason:
As in the field and write SQl database fields of such an error is produced
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Error 2: the Java. SQL. SQLException: Field 'ID' doesn 't have a default value

There is no set my ID on the fields, generated an error

CodePudding user response:

Are avoidable errors
  • Related