I am using Solr 4.6.0
and trying to import my data using CachedSqlEntityProcessor
, but somehow I end up getting a ClassCastException
.
CachedSqlEntityProcessor relies on DIHCacheSupport(Map
) that is not adapted to work with keys of type Integer, which is expected behavior for any cache. (Object key = context.resolve(cacheForeignKey);
, this key should really be of type String)
SELECT CAST(id as CHAR(32)) AS CID,full_name FROM sm_conferences