2nd Cache doesn't seem to work

41 views
Skip to first unread message

Sejin Im

unread,
Nov 23, 2023, 2:55:01 AM11/23/23
to mybatis-user
I use mybatis 3.5.9

CachingExecutor stores a cache value by TransactionalCacheManager
and the manager stores the value into TransactionalCache.entriesToAddOnCommit.

There is a problem.

CachingExecutor tries to find a cached value by the manager, but it finds by cache impl delegate, not using TransactionalCache.entriesToAddOnCommit.

So the manager always returns null from cache.

Iwao AVE!

unread,
Nov 30, 2023, 8:16:25 AM11/30/23
to mybati...@googlegroups.com
Hello,

Please show us how to reproduce the problem.
The best way is to share a small demo project.
Here are some templates and examples.

Regards,
Iwao

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/5dd99a47-2b6e-4062-8701-bb1e2e775a64n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages