(I'm using Netbeans IDE 8.2)
I'm making a jFrame form to register a new user which will accept some values from the user at run time and insert them in a database that I've created in MySQL.
Here's the design view (ignore the text boxes at the top right corner)-
And here's the code I've written using JDBC-
Now, the problem I'm facing is in inputting the date of birth . It shows this error-
And this is the database and the table-
All I get from the error is that MySQL can't accept the value entered and I'm guessing this might be due to some implicit data conversion that I'm unaware of. I can't understand how to fix this. Please help ! (I've not done any data validation yet)