Check the second-level cache before adding a PK to a batch fetch

Description

BatchFetchQueue.getEntityBatch() should check the second level cache to see if the pk is available in the cache before adding it to a batch of pks. Ditto for getCollectionBatch().

Environment

None

Status

Assignee

Steve Ebersole

Reporter

GavinG

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure