diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2012-04-26 00:35:40 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2012-04-26 00:35:40 +0200 |
| commit | 913d36d8f207083dfb6b627702a110d8d114be80 (patch) | |
| tree | 7c58aeec9de28975d7edc651925c2070ac6c7e23 /source/com/c2kernel/entity | |
| parent | fbd58d26a45c6efc9de89553c49465d8bef5f5d9 (diff) | |
History caching
Changed EntityProxy.getObject to return a null locked History object so
it could be cached. Change every instance where a transaction based
History is required so it is created directly instead of loaded from
storage.
Diffstat (limited to 'source/com/c2kernel/entity')
| -rw-r--r-- | source/com/c2kernel/entity/proxy/EntityProxy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/com/c2kernel/entity/proxy/EntityProxy.java b/source/com/c2kernel/entity/proxy/EntityProxy.java index a9f6066..fae2e28 100644 --- a/source/com/c2kernel/entity/proxy/EntityProxy.java +++ b/source/com/c2kernel/entity/proxy/EntityProxy.java @@ -140,7 +140,7 @@ abstract public class EntityProxy implements ManageableEntity // load from storage, falling back to proxy loader if not found in others
try
{
- return Gateway.getStorage().get( mSystemKey, xpath , this);
+ return Gateway.getStorage().get( mSystemKey, xpath , null);
}
catch( ClusterStorageException ex )
{
|
