Piccinni was born in Bari . Piccinni was born in Bari , and educated under Leonardo Leo and Francesco Durante , at the S. Onofrio Conservatory . For this , he had to thank the intervention of the Bishop of Bari , since his father , although himself a musician , was opposed to his son 's following the same career .