This content has been marked as final. Show 1 reply
Yes, objects read from the database will be placed into the cache. This is true when using Coherence with TopLink Grid or the built in TopLink shared cache.
You can warm the cache by simply issuing a query with a hint forcing the query to disk. In the case of a cache warming process you can also query with a read-only hint to improve performance. Also, you can avoid later database queries by performing join queries to load related objects.