Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

derby: Fix typo in isDerby detection

  • Loading branch information...
commit a857fe68c4bd1d5ddb556df4c56e8286f8669027 1 parent 66f046c
Dwayne Litzenberger authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.