Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortle2008-10-29 22:50:45 +0000
committertle2008-10-29 22:50:45 +0000
commitab78c8a3cd325b42fbce1fde856f8c287ed69e0c (patch)
tree2fa48ba8fe9fde01584367677719fb37c1304874
parentac2beb32b8361eac8310a223822962ec235db906 (diff)
downloadwebtools.dali-ab78c8a3cd325b42fbce1fde856f8c287ed69e0c.tar.gz
webtools.dali-ab78c8a3cd325b42fbce1fde856f8c287ed69e0c.tar.xz
webtools.dali-ab78c8a3cd325b42fbce1fde856f8c287ed69e0c.zip
250844 - Add driver library Driver combo does not appear to support multiple driver definitions
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/facet/JpaFacetDataModelProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/facet/JpaFacetDataModelProvider.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/facet/JpaFacetDataModelProvider.java
index d45fa3a650..30991f160f 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/facet/JpaFacetDataModelProvider.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/facet/JpaFacetDataModelProvider.java
@@ -22,6 +22,7 @@ import org.eclipse.jpt.core.internal.platform.JpaPlatformRegistry;
import org.eclipse.jpt.db.ConnectionProfile;
import org.eclipse.jpt.db.ConnectionProfileFactory;
import org.eclipse.jpt.db.Database;
+import org.eclipse.jpt.db.DatabaseFinder;
import org.eclipse.jpt.db.JptDbPlugin;
import org.eclipse.jpt.db.Schema;
import org.eclipse.jpt.utility.internal.CollectionTools;
@@ -358,7 +359,7 @@ public class JpaFacetDataModelProvider extends FacetInstallDataModelProvider
}
private ConnectionProfile buildConnectionProfile(String name) {
- return this.getConnectionProfileFactory().buildConnectionProfile(name);
+ return this.getConnectionProfileFactory().buildConnectionProfile(name, DatabaseFinder.Default.instance());
}
private boolean connectionIsActive() {

Back to the top