Here you can find the source of getSqlDate(java.util.Date paramDate)
public static java.sql.Date getSqlDate(java.util.Date paramDate)
//package com.java2s; public class Main { public static java.sql.Date getSqlDate(java.util.Date paramDate) { java.sql.Date localDate = new java.sql.Date(paramDate.getTime()); return localDate; }/*from w w w. ja va 2s .c o m*/ }