Convert from java.util.Date Object to a java.sql.Date Object
Query:
How to convert java.util.Date to java.sql.Date?
Problem Statement:
When using java.util.Date as input and creating a query from it, a java.sql.Date is required. The conversion cannot be done explicitly or implicitly.
Solution:
1 2 3 4 5 6 7 8 9 10 11 |
|
The above is the detailed content of How to Convert a java.util.Date to a java.sql.Date?. For more information, please follow other related articles on the PHP Chinese website!