Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/stores/MssqlJDBCTestDatabaseAdapter.java')
-rwxr-xr-xtests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/stores/MssqlJDBCTestDatabaseAdapter.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/stores/MssqlJDBCTestDatabaseAdapter.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/stores/MssqlJDBCTestDatabaseAdapter.java
new file mode 100755
index 000000000..b74fdd077
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/stores/MssqlJDBCTestDatabaseAdapter.java
@@ -0,0 +1,37 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2005, 2006, 2007, 2008 Springsite BV (The Netherlands) and others
+ * 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
+ *
+ * Contributors:
+ * Martin Taal
+ * </copyright>
+ *
+ * $Id: MssqlJDBCTestDatabaseAdapter.java,v 1.4 2008/02/28 07:08:13 mtaal Exp $
+ */
+
+package org.eclipse.emf.teneo.test.stores;
+
+
+/**
+ * Overrides geturl to add specific ms string: ;DatabaseName=
+ *
+ * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
+ * @version $Revision: 1.4 $
+ */
+
+public class MssqlJDBCTestDatabaseAdapter extends BaseTestDatabaseAdapter {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.emf.teneo.test.stores.TestDatabaseAdapter#getDbUrl()
+ */
+ public String getDbUrl() {
+ return dbUrl + ";DatabaseName=" + dbName + ";SelectMethod=cursor";
+ }
+} \ No newline at end of file

Back to the top