Fix for bug 277039 - JPA 2.0 Cache Usage Settings (Part 2 of 2)
Reviewed by: Gordon Yorke
Tests: Created new cacheable model (annotations and xml) and test suite CacheableModelJUnitTest. New persistence units to test all for caching settings provided in jps.test/resource/eclipselink-annotation-model/persistence.xml.
diff --git a/src/javax/persistence/CacheRetrieveMode.java b/src/javax/persistence/CacheRetrieveMode.java
index 72d2ed0..f3d1a6e 100644
--- a/src/javax/persistence/CacheRetrieveMode.java
+++ b/src/javax/persistence/CacheRetrieveMode.java
@@ -27,8 +27,8 @@
/**
* The <code>javax.persistence.CacheRetrieveMode</code> property specifies the
* behavior when data is retrieved by the find methods and by the execution of
- * queries. The cacheGetMode property is ignored for the refresh method, which
- * always causes data to be retrieved from the database, not the cache.
+ * queries. The cacheRetrieveMode property is ignored for the refresh method,
+ * which always causes data to be retrieved from the database, not the cache.
*
* @since Java Persistence 2.0
*/