The column indices stored in the ColumnNameCache are stored as Integer, retrieved as int, but then actually always used as Integer again in client code invoking the cache.