Commit 81de1751 authored by Matija Obreza's avatar Matija Obreza
Browse files

Driver updates

parent e4b21611
......@@ -25,14 +25,14 @@ public class JdbcDrivers extends AbstractModelObject {
private List<JdbcDriver> jdbcDrivers = new ArrayList<JdbcDriver>();
private static final String mySqlDownloadUrl = "http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.39/mysql-connector-java-5.1.39.jar";
private static final String msSqlDownloadUrl = "http://download1058.mediafire.com/8x31owqyfiog/3ycmaelhoot/sqljdbc4.jar";
private static final String msSqlDownloadUrl = "http://central.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/6.4.0.jre8/mssql-jdbc-6.4.0.jre8.jar";
private static final String postgreSqlDownloadUrl = "http://central.maven.org/maven2/org/postgresql/postgresql/9.3-1102-jdbc41/postgresql-9.3-1102-jdbc41.jar";
private static final String accessDownloadUrl = "http://repo1.maven.org/maven2/net/sf/ucanaccess/ucanaccess/4.0.3/ucanaccess-4.0.3.jar";
private static final String accessDownloadUrl = "http://central.maven.org/maven2/net/sf/ucanaccess/ucanaccess/4.0.4/ucanaccess-4.0.4.jar";
private String jdbcOdbcDownloadUrl = "";
{
jdbcDrivers.add(new JdbcDriver("MySQL", "com.mysql.jdbc.Driver", mySqlDownloadUrl, "jdbc:mysql://localhost:3306/DATABASE"));
jdbcDrivers.add(new JdbcDriver("MsSQL", "com.microsoft.sqlserver.jdbc.SQLServerDriver", msSqlDownloadUrl, "jdbc:sqlserver://localhost\\INSTANCE:1433;databaseName=DATABASE"));
jdbcDrivers.add(new JdbcDriver("mysql", "com.mysql.jdbc.Driver", mySqlDownloadUrl, "jdbc:mysql://localhost:3306/DATABASE"));
jdbcDrivers.add(new JdbcDriver("MS SQL", "com.microsoft.sqlserver.jdbc.SQLServerDriver", msSqlDownloadUrl, "jdbc:sqlserver://localhost\\INSTANCE:1433;databaseName=DATABASE"));
jdbcDrivers.add(new JdbcDriver("PostgreSQL", "org.postgresql.Driver", postgreSqlDownloadUrl, "jdbc:postgresql://localhost:5432/DATABASE"));
jdbcDrivers.add(new JdbcDriver("MS Access", "net.ucanaccess.jdbc.UcanaccessDriver", accessDownloadUrl, "jdbc:ucanaccess://PATH-TO-ACCDB"));
jdbcDrivers.add(new JdbcDriver("JDBC ODBC", "sun.jdbc.odbc.JdbcOdbcDriver", jdbcOdbcDownloadUrl, "jdbc:odbc://JDBC-ODBC-CONNECTSTRING"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment