Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2012-06-01 08:17:02 +0000
committerMarkus Tiede2012-06-01 08:17:02 +0000
commitb7426380c3ef486972d6e8118756a00fbe78b34e (patch)
treef2043edd56e3ca1cf42b3d53ffdffd3c45025af5
parent142724cb4d07ec856350d79add78770957824ba1 (diff)
downloadorg.eclipse.jubula.core-b7426380c3ef486972d6e8118756a00fbe78b34e.tar.gz
org.eclipse.jubula.core-b7426380c3ef486972d6e8118756a00fbe78b34e.tar.xz
org.eclipse.jubula.core-b7426380c3ef486972d6e8118756a00fbe78b34e.zip
Fix for issue 381210.
-rw-r--r--org.eclipse.jubula.client.cmd/src/org/eclipse/jubula/client/cmd/JobConfiguration.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.jubula.client.cmd/src/org/eclipse/jubula/client/cmd/JobConfiguration.java b/org.eclipse.jubula.client.cmd/src/org/eclipse/jubula/client/cmd/JobConfiguration.java
index 488e87aca..d5989dd57 100644
--- a/org.eclipse.jubula.client.cmd/src/org/eclipse/jubula/client/cmd/JobConfiguration.java
+++ b/org.eclipse.jubula.client.cmd/src/org/eclipse/jubula/client/cmd/JobConfiguration.java
@@ -550,7 +550,8 @@ public class JobConfiguration {
* <code>null</code> if no connection information available for the
* given dbURL.
*/
- private DatabaseConnectionInfo getConnectionInfo(final String dbURL) {
+ private static DatabaseConnectionInfo getConnectionInfo(
+ final String dbURL) {
DatabaseConnectionInfo connectionInfo = null;
if (dbURL.startsWith(OracleConnectionInfo.JDBC_PRE)) {
connectionInfo = new OracleConnectionInfo() {
@@ -839,7 +840,11 @@ public class JobConfiguration {
job.setResultDir(arg0.getValue());
} else if (arg0.getNodeName().
equals(ClientTestStrings.DBURL)) {
- job.setDb(arg0.getValue());
+ String dbURL = arg0.getValue();
+ job.setDb(dbURL);
+ DatabaseConnectionInfo connectionInfo =
+ getConnectionInfo(dbURL);
+ job.setDbscheme(connectionInfo);
} else if (arg0.getNodeName().
equals(ClientTestStrings.DB_SCHEME)) {
job.setDbConnectionName(arg0.getValue());

Back to the top