Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2012-01-20 19:34:35 +0000
committerkmoore2012-01-20 19:34:35 +0000
commit2258fbd13be54d5fccdbb1d24970472f993b57c5 (patch)
tree16f51029f718adc444206e778263c866cdb4cb3f /jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource
parent2906afe6464d3be54b3d0455f1b3dd71603f7efd (diff)
downloadwebtools.dali-2258fbd13be54d5fccdbb1d24970472f993b57c5.tar.gz
webtools.dali-2258fbd13be54d5fccdbb1d24970472f993b57c5.tar.xz
webtools.dali-2258fbd13be54d5fccdbb1d24970472f993b57c5.zip
added preliminary support for EclipseLink access-methods and VIRTUAL access type
Diffstat (limited to 'jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource')
-rw-r--r--jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource/src/org/eclipse/jpt/jpa/core/tests/extension/resource/TestJpaPlatformFactory.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource/src/org/eclipse/jpt/jpa/core/tests/extension/resource/TestJpaPlatformFactory.java b/jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource/src/org/eclipse/jpt/jpa/core/tests/extension/resource/TestJpaPlatformFactory.java
index 5dc1eb4e3b..b5ed1face7 100644
--- a/jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource/src/org/eclipse/jpt/jpa/core/tests/extension/resource/TestJpaPlatformFactory.java
+++ b/jpa/tests/org.eclipse.jpt.jpa.core.tests.extension.resource/src/org/eclipse/jpt/jpa/core/tests/extension/resource/TestJpaPlatformFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2011 Oracle. All rights reserved.
+ * Copyright (c) 2007, 2012 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
@@ -9,10 +9,12 @@
******************************************************************************/
package org.eclipse.jpt.jpa.core.tests.extension.resource;
+import org.eclipse.jpt.common.core.JptResourceType;
import org.eclipse.jpt.jpa.core.JpaFacet;
import org.eclipse.jpt.jpa.core.JpaPlatform;
import org.eclipse.jpt.jpa.core.JpaPlatformFactory;
import org.eclipse.jpt.jpa.core.JpaPlatformVariation;
+import org.eclipse.jpt.jpa.core.context.AccessType;
import org.eclipse.jpt.jpa.core.internal.GenericJpaAnnotationDefinitionProvider;
import org.eclipse.jpt.jpa.core.internal.GenericJpaPlatform;
import org.eclipse.jpt.jpa.core.internal.GenericJpaPlatformFactory.SimpleVersion;
@@ -62,6 +64,9 @@ public class TestJpaPlatformFactory
public boolean isJoinTableOverridable() {
return false;
}
+ public AccessType[] getSupportedAccessTypes(JptResourceType resourceType) {
+ return GENERIC_SUPPORTED_ACCESS_TYPES;
+ }
};
}
}

Back to the top