Here you can find the source of parseSqlDate(java.util.Date date)
public static java.sql.Date parseSqlDate(java.util.Date date)
//package com.java2s; public class Main { public static java.sql.Date parseSqlDate(java.util.Date date) { if (date == null) return null; return new java.sql.Date(date.getTime()); }//from w ww . j av a2s. c o m }