Here you can find the source of convertLocalDateToDatabaseDate(LocalDate localDate)
public static Date convertLocalDateToDatabaseDate(LocalDate localDate)
//package com.java2s; //License from project: Open Source License import java.sql.Date; import java.time.LocalDate; public class Main { public static Date convertLocalDateToDatabaseDate(LocalDate localDate) { return Date.valueOf(localDate); }/*from w w w.ja v a 2s . c o m*/ }