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:

Windows 8.3 file naming setting is disabled for the product

To enable Windows 8.3 file naming setting use fsutil command Example:  c:\> fsutil 8dot3name set C: 0