[Urgent recruitment] I can't convert from java.util.date to java.sql.date ...

Hello. I can't convert from java.util.date to java.sql.date ...

As it stands,

(1) Input the date in DATE type in JSP and send it to the Servlet. ② Send from Servlet to DAO (3) In the DAO method, an error is displayed stating that the received java.util.date type variable needs to be converted to java.sql.date type when it is stored in the SQL statement.

No matter what method you try, it won't work, so please share your knowledge with us. Thank you.

Recommended Posts

[Urgent recruitment] I can't convert from java.util.date to java.sql.date ...
How to convert java.util.Date, java.sql.Date, LocalDate, ZonedDateTime
Convert from ○ months to ○ years ○ months
I can't log in to MySQL from Django when using docker-compose
I want to convert InputStream to String
[Rails] How to convert from erb to haml
Convert from java UTC time to JST time
Convert from color temperature to RGB (sRGB)
I tried to build Ruby 3.0.0 from source
I tried to automatically generate a class to convert from a data class to a Bundle with APT
[Ruby] How to convert from lowercase to uppercase and from uppercase to lowercase
Convert from C String pointer to Swift String type
Run R from Java I want to run rJava
[Rails] I tried to raise the Rails version from 5.0 to 5.2
I want to graduate from npm install properly [2020]
I want to play with Firestore from Rails
I want to write quickly from java to sqlite