HHH-5801 fix jdk 1.5 compatibility issue
This commit is contained in:
parent
fdb8786858
commit
59302f4f3d
|
@ -40,7 +40,7 @@ public class ColumnNameCache {
|
||||||
|
|
||||||
public ColumnNameCache(int columnCount) {
|
public ColumnNameCache(int columnCount) {
|
||||||
// should *not* need to grow beyond the size of the total number of columns in the rs
|
// 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 {
|
public int getIndexForColumnName(String columnName, ResultSet rs) throws SQLException {
|
||||||
|
|
Loading…
Reference in New Issue