diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.derby/src/org/eclipse/osee/framework/derby/EmbeddedDerbyConnection.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.derby/src/org/eclipse/osee/framework/derby/EmbeddedDerbyConnection.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/org.eclipse.osee.framework.derby/src/org/eclipse/osee/framework/derby/EmbeddedDerbyConnection.java b/plugins/org.eclipse.osee.framework.derby/src/org/eclipse/osee/framework/derby/EmbeddedDerbyConnection.java deleted file mode 100644 index 42f0616d6be..00000000000 --- a/plugins/org.eclipse.osee.framework.derby/src/org/eclipse/osee/framework/derby/EmbeddedDerbyConnection.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2007 Boeing. - * 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: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.framework.derby; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.util.Properties; -import org.eclipse.osee.framework.database.core.IConnectionFactory; - -/** - * @author Roberto E. Escobar - */ -public class EmbeddedDerbyConnection implements IConnectionFactory { - - private static final String driver = "org.apache.derby.jdbc.EmbeddedDriver"; - - @Override - public Connection getConnection(Properties properties, String connectionURL) throws Exception { - Class.forName(driver); - Connection connection = DriverManager.getConnection(connectionURL, properties); - return connection; - } - - @Override - public String getDriver() { - return driver; - } - -} |