Data Tracking
10/27/25Less than 1 minute
Data Tracking
eq provides tracking query, which supports tracking query results. After setting properties on entity objects, a large amount of data, such as hundreds of thousands of objects being tracked, may cause relatively slow query results because snapshots of the results need to be cloned.
Solution
Ignore certain objects
If the current method does not have
@EasyQueryTrackadded, then all expressions within the method will not be trackedIf the current method has
@EasyQueryTrackadded and configured withdefault-track:true, then you can ignore this expression throughasNoTracking
easyEntityQuery.queryable(SysUser.class)
.asNoTracking()//
.toList();Contributors
只是我