A 21-year-old suspect has been detained after the attack at the college where he had studied in Jiangsu province.