{{theTime}}

Search This Blog

Total Pageviews

How to convert java.util.Date to java.sql.Date?

public static java.sql.Date convertJavaDateToSqlDate(java.util.Date javaUtilDate) {
        java.sql.Date sqlDate = new java.sql.Date(javaUtilDate.getTime());
return sqlDate;
}

No comments:

java.lang.IllegalArgumentException: Unsupported class file major version 60

- Check the stack trace and version of Java. - Update the correct Java Version to resolve the Exception.