Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa
diff options
context:
space:
mode:
authorkmoore2008-04-21 15:37:55 +0000
committerkmoore2008-04-21 15:37:55 +0000
commit69795c03dc313a21fe55086c933be01400c2ae78 (patch)
tree8132b7704f5cb7aa69d4c9b19ef3a8ce033ca936 /jpa
parent90d53ba873a281b6cbb1c6349441344389deacad (diff)
downloadwebtools.dali-69795c03dc313a21fe55086c933be01400c2ae78.tar.gz
webtools.dali-69795c03dc313a21fe55086c933be01400c2ae78.tar.xz
webtools.dali-69795c03dc313a21fe55086c933be01400c2ae78.zip
changed default cache size default to 1000 after talking with Shaun, the eclipselink docs were wrong
Diffstat (limited to 'jpa')
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/caching/Caching.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/caching/Caching.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/caching/Caching.java
index d6e28b95d3..82cf030feb 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/caching/Caching.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/internal/context/caching/Caching.java
@@ -32,7 +32,7 @@ public interface Caching extends PersistenceUnitProperties
static final String CACHE_SIZE_DEFAULT_PROPERTY = "cacheSizeDefaultProperty";
// EclipseLink key string
static final String ECLIPSELINK_CACHE_SIZE_DEFAULT = "eclipselink.cache.size.default";
- static final Integer DEFAULT_CACHE_SIZE_DEFAULT = 100;
+ static final Integer DEFAULT_CACHE_SIZE_DEFAULT = new Integer(1000);
Boolean getDefaultSharedCacheDefault();
Boolean getSharedCacheDefault();
@@ -57,7 +57,7 @@ public interface Caching extends PersistenceUnitProperties
static final String CACHE_SIZE_PROPERTY = "cacheSizeProperty";
// EclipseLink key string
static final String ECLIPSELINK_CACHE_SIZE = "eclipselink.cache.size.";
- static final Integer DEFAULT_CACHE_SIZE = 1000;
+ static final Integer DEFAULT_CACHE_SIZE = new Integer(1000);
Boolean getDefaultSharedCache();
Boolean getSharedCache(String entityName);
@@ -65,7 +65,7 @@ public interface Caching extends PersistenceUnitProperties
static final String SHARED_CACHE_PROPERTY = "sharedCacheProperty";
// EclipseLink key string
static final String ECLIPSELINK_SHARED_CACHE = "eclipselink.cache.shared.";
- static final Boolean DEFAULT_SHARED_CACHE = true;
+ static final Boolean DEFAULT_SHARED_CACHE = Boolean.TRUE;
ListIterator<String> entities();

Back to the top