在CachingExecutor類的query方法中實現(xiàn)了一級緩存的邏輯: 1 2 3 4 5 public<E> List<E> query(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler)throwsSQLException { BoundSql boundSql = ms.getBoundSql(parameter); CacheKey key = createCacheKey(ms, parameter, rowBou...
www.dbjr.com.cn/program/3237859...htm 2025-5-31