11/*
2- * Copyright 2002-2018 the original author or authors.
2+ * Copyright 2002-2021 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3131 * entry for each column, with the column name as key.
3232 *
3333 * <p>The Map implementation to use and the key to use for each column
34- * in the column Map can be customized through overriding
35- * {@link #createColumnMap} and {@link #getColumnKey}, respectively.
34+ * in the column Map can be customized by overriding {@link #createColumnMap}
35+ * and {@link #getColumnKey}, respectively.
3636 *
3737 * <p><b>Note:</b> By default, {@code ColumnMapRowMapper} will try to build a linked Map
3838 * with case-insensitive keys, to preserve column order as well as allow any
@@ -71,6 +71,7 @@ protected Map<String, Object> createColumnMap(int columnCount) {
7171
7272 /**
7373 * Determine the key to use for the given column in the column Map.
74+ * <p>By default, the supplied column name will be returned unmodified.
7475 * @param columnName the column name as returned by the ResultSet
7576 * @return the column key to use
7677 * @see java.sql.ResultSetMetaData#getColumnName
@@ -83,9 +84,9 @@ protected String getColumnKey(String columnName) {
8384 * Retrieve a JDBC object value for the specified column.
8485 * <p>The default implementation uses the {@code getObject} method.
8586 * Additionally, this implementation includes a "hack" to get around Oracle
86- * returning a non standard object for their TIMESTAMP datatype .
87- * @param rs is the ResultSet holding the data
88- * @param index is the column index
87+ * returning a non standard object for their TIMESTAMP data type .
88+ * @param rs the ResultSet holding the data
89+ * @param index the column index
8990 * @return the Object returned
9091 * @see org.springframework.jdbc.support.JdbcUtils#getResultSetValue
9192 */
0 commit comments