OPENJPA-1190 javax.persistence.Caching is now javax.persistence.spi.SharedCacheMode in EA5 (20090720) API

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2009-07-22 16:42:08 +00:00
parent 1f58f05c52
commit c6e394d936
1 changed files with 2 additions and 3 deletions

View File

@ -34,7 +34,6 @@ import java.util.Map;
import java.util.Properties; import java.util.Properties;
import java.util.Set; import java.util.Set;
import javax.persistence.Caching;
import javax.persistence.spi.SharedCacheMode; import javax.persistence.spi.SharedCacheMode;
import javax.persistence.spi.ValidationMode; import javax.persistence.spi.ValidationMode;
import javax.persistence.spi.ClassTransformer; import javax.persistence.spi.ClassTransformer;
@ -527,12 +526,12 @@ public class PersistenceUnitInfoImpl
_schemaVersion = version; _schemaVersion = version;
} }
public Caching getCaching() { public SharedCacheMode getCaching() {
throw new UnsupportedOperationException( throw new UnsupportedOperationException(
"JPA 2.0 - Method not yet implemented"); "JPA 2.0 - Method not yet implemented");
} }
public void setCaching(Caching cache) { public void setCaching(SharedCacheMode cache) {
throw new UnsupportedOperationException( throw new UnsupportedOperationException(
"JPA 2.0 - Method not yet implemented"); "JPA 2.0 - Method not yet implemented");
} }