Skip to Content
0
Former Member
Aug 25, 2015 at 08:05 PM

Disable Caching for specific items

1017 Views

hi, we have large number of records (inserts) loaded to hybris application as part of initial data setup. What we have observed from JDBC log is that during the inserts application makes a check against the PK before executing the insert query. I think the select query is run against the cache (item/query) to see whether the record is existing. From JDBC log, the select query takes time. We would like to avoid hybris application making the select query by disabling caching during the initial load time. Snippets of JDBC log SELECT * FROM users WHERE PK=?

Can you please suggest how we can disable the caching in hybris application? Appreciate any additional inputs.

Thanks in advance