summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2013-01-03 13:27:36 (EST)
committerKaren Butzke2013-01-03 13:27:36 (EST)
commitf9cea1fdb0100b9e9fc00d41df5f2325edac20a0 (patch)
tree40333fc4dbc3465fefb40791927990785f7b66bf
parentaa6e8e45e86d86417717239d97a50a646915258b (diff)
downloadwebtools.dali-f9cea1fdb0100b9e9fc00d41df5f2325edac20a0.zip
webtools.dali-f9cea1fdb0100b9e9fc00d41df5f2325edac20a0.tar.gz
webtools.dali-f9cea1fdb0100b9e9fc00d41df5f2325edac20a0.tar.bz2
fixed the JPA 2.1 and EclipseLink 2.5 platform support
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLink2_5JpaPlatformFactory.java2
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/jpa2/platform/generic/Generic2_1JpaPlatformUiFactory.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLink2_5JpaPlatformFactory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLink2_5JpaPlatformFactory.java
index 12f3e1c..fc712cb 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLink2_5JpaPlatformFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLink2_5JpaPlatformFactory.java
@@ -44,7 +44,7 @@ public class EclipseLink2_5JpaPlatformFactory
buildJpaVersion(),
new EclipseLink2_4JpaFactory(),
buildAnnotationProvider(),
- EclipseLink2_4JpaPlatformProvider.instance(),
+ EclipseLink2_5JpaPlatformProvider.instance(),
buildJpaVariation(),
EclipseLinkJPQLGrammar2_5.instance());
}
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/jpa2/platform/generic/Generic2_1JpaPlatformUiFactory.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/jpa2/platform/generic/Generic2_1JpaPlatformUiFactory.java
index 2b39f48..cbf19cc 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/jpa2/platform/generic/Generic2_1JpaPlatformUiFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/jpa2/platform/generic/Generic2_1JpaPlatformUiFactory.java
@@ -11,7 +11,7 @@ package org.eclipse.jpt.jpa.ui.internal.jpa2.platform.generic;
import org.eclipse.jpt.jpa.ui.JpaPlatformUi;
import org.eclipse.jpt.jpa.ui.JpaPlatformUiFactory;
-import org.eclipse.jpt.jpa.ui.internal.jpa2.Generic2_0JpaPlatformUiProvider;
+import org.eclipse.jpt.jpa.ui.internal.jpa2.Generic2_1JpaPlatformUiProvider;
import org.eclipse.jpt.jpa.ui.internal.platform.generic.GenericJpaPlatformUi;
import org.eclipse.jpt.jpa.ui.internal.platform.generic.GenericJpaPlatformUiFactory;
@@ -28,7 +28,7 @@ public class Generic2_1JpaPlatformUiFactory
public JpaPlatformUi buildJpaPlatformUi() {
return new GenericJpaPlatformUi(
GenericJpaPlatformUiFactory.NAVIGATOR_FACTORY_PROVIDER,
- Generic2_0JpaPlatformUiProvider.instance()
+ Generic2_1JpaPlatformUiProvider.instance()
);
}
}