added cascade delete to DataBase  and Tested from Java