added type and sequence for xorm tool;added max connect for pool(go1.2+)