add doctrine listener for collate and charset
add doctrine listener for collate and charset