Javadoc
PUBLIC:
The cache will checked completely, if the object is not found the database will be queried,
and the database result will be verified with what is in the cache and/or unit of work including new objects.
This can lead to poor performance so it is recommended that only the database be queried in most cases.
Queries can be configured to use the cache at several levels.
Other caching option are available.