HHH-5801 fix jdk 1.5 compatibility issue

This commit is contained in:
Strong Liu 2011-09-29 13:04:40 +08:00
parent fdb8786858
commit 59302f4f3d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class ColumnNameCache {
public ColumnNameCache(int columnCount) {
// should *not* need to grow beyond the size of the total number of columns in the rs
this.columnNameToIndexCache = new ConcurrentHashMap<String, Integer>( columnCount + (int)( columnCount * LOAD_FACTOR ) + 1, LOAD_FACTOR );
this.columnNameToIndexCache = new ConcurrentHashMap<String, Integer>( columnCount + (int)( columnCount * LOAD_FACTOR ) + 1, LOAD_FACTOR, 16 );
}
public int getIndexForColumnName(String columnName, ResultSet rs) throws SQLException {