Skip to content

Commit

Permalink
Merge pull request #15 from SaSa1983/patch-1
Browse files Browse the repository at this point in the history
Fix Typo in MS SQL Server Driver
  • Loading branch information
landawn authored Mar 14, 2019
2 parents 4fc238d + 9c20ae4 commit 2ca63c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/landawn/abacus/util/JdbcUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ private static Class<? extends Driver> getDriverClasssByUrl(final String url) {
driverClass = ClassUtil.forClass("oracle.jdbc.driver.OracleDriver");
// jdbc.url=jdbc:sqlserver://localhost:1433;Database=abacustest
} else if (url.indexOf("sqlserver") > 0 || StringUtil.indexOfIgnoreCase(url, "sqlserver") > 0) {
driverClass = ClassUtil.forClass("com.microsoft.sqlserver.jdbc.SQLServerDrive");
driverClass = ClassUtil.forClass("com.microsoft.sqlserver.jdbc.SQLServerDriver");
// jdbc:db2://localhost:50000/abacustest
} else if (url.indexOf("db2") > 0 || StringUtil.indexOfIgnoreCase(url, "db2") > 0) {
driverClass = ClassUtil.forClass("com.ibm.db2.jcc.DB2Driver");
Expand Down

0 comments on commit 2ca63c9

Please sign in to comment.