Also found this:
Seems to be the same proposed solution on the Spring question...

@Transactional(value = TxType.SUPPORTS)
public class MyService {

@Injectprivate Provider<MyService> self;

Is this safe/good idea?

On Wed, Feb 14, 2018 at 2:31 PM, Luís Alves <> wrote:

> This is not really DS specific, but DS might have some solutions.
> I'm using @CacheResult, but if I do a call from the same class the
> interceptor is not triggered so the cache doesn't work. I suffered from the
> same issue with Spring (describe here:
> questions/16899604/spring-cache-cacheable-not-working-
> while-calling-from-another-method-of-the-s)
> Does DS or someone knows any trick to make this work?
> LA

Reply via email to