public static Timestamp toTimestamp(LocalDateTime data){
  return Timestamp.valueOf(data);
}

public static Timestamp toTimestamp ( LocalDateTime data ) { return Timestamp . valueOf ( data ) ; }
converte local date time para timestamp
