Skip to content
Browse files

derby: Fix typo in isDerby detection

  • Loading branch information...
1 parent 66f046c commit a857fe68c4bd1d5ddb556df4c56e8286f8669027 Dwayne Litzenberger committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java/arjdbc/jdbc/RubyJdbcConnection.java
View
2 src/java/arjdbc/jdbc/RubyJdbcConnection.java
@@ -982,7 +982,7 @@ public Object call(Connection c) throws SQLException {
DatabaseMetaData metadata = c.getMetaData();
String clzName = metadata.getClass().getName().toLowerCase();
boolean isOracle = clzName.indexOf("oracle") != -1 || clzName.indexOf("oci") != -1;
- boolean isDerby = clzName.indexOf("derby") != 1;
+ boolean isDerby = clzName.indexOf("derby") != -1;
String realschema = schemapat;
String realtablepat = tablepat;

0 comments on commit a857fe6

Please sign in to comment.
Something went wrong with that request. Please try again.