| StandardCacheEntryImpl calls TypeHelper.disassemble which causes the freshly converted (converttoEntityAttribute) attribute again to be converted the other way round (convertToDatabaseColumn) to use this value to fill the cache. If this conversion is slow this is a problem. This is processed within a query.list() call. It would be nice if there was a way to suppress this forward and backward conversion that slows processing down a lot. It would be really helpful if I could instead cache the Entityattribute and not the Databaseattribute as then I would get rid of all the conversions when working from cache. |