like batch_size, fetch_size etc should be int type instead of string, and also xjc file can be simplified