Skip to Content

Cleaning BTG Segment Evaluation Results


In our project we are using BTG and would like to clean the unwanted session scope results from the DB which makes our Admin tab useless due to high volume of data. To make this possible we need to go with 2 steps:

  1. Clean existing results via cron job. (Done, we are able to do this).

  2. Do not allow hybris to store the results in database. (Not done, facing issues as mentioned below).

I went through the Wiki link where the cleaning of BTG segment results is explained.

I was able to:

  • create the cron job which removes the results from all the users.

I'm not able to:

  • use the property, even if I set it to true/false. Results will always be created.

  • tried searching for de.hybris.platform.btg.dao.impl.DefaultResultDataCachingBTGDao class, but couldn't find any class file which I can use in the spring file.

  • couldn't find de.hybris.platform.btg.dao.impl.SessionResultAwareBTGDaoSelector class as well.

If I try to put the spring configurations the server startup fails. Which confirms that these classes are not available OOTB.

We need your guidance on this to implement the logic.

I would really appreciate your help/guidance on this.

Thanks Pratik

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.