replace sequence generator with Auto, coz not supported in mysql