Integer timeoutInt = timeout == null ? null : new Integer(timeout);
Integer fetchSizeInt = fetchSize == null ? null : new Integer(fetchSize);
boolean allowRemappingBool = "true".equals(allowRemapping);
MappedStatementConfig statementConf = state.getConfig().newMappedStatementConfig(id, statement,
new XMLSqlSource(state, node), parameterMapName, parameterClass, resultMapName,
additionalResultMapNames, resultClass, additionalResultClasses, resultSetType, fetchSizeInt,
allowRemappingBool, timeoutInt, cacheModelName, xmlResultName);
findAndParseSelectKey(node, statementConf);