'How to delete jDateChooser from database

I have a problem when I want to delete the data in JDateChoose from database(Localhost) and the table. When I want to delete it, the message said it's success but from the table and the database there still a data.

In youtube, I don't find the right solution to my problem. But when I use this syntax :

DC_TanggalKupon.setCalendar(null);

The field is deleted from the JDatePicker but not the table and database



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source