@Override
  public Connection connect(String url, Properties info) throws SQLException {
    url = url.replace("sderby", "derby");
    return new StatementVerifyingDerby.StatementVerifyingConnection(super.connect(url, info));
  }
Fake derby driver - companion class to enable testing by TestObjectStoreStatementVerify.
This derby driver will call a verifying function during prepareStatement.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/StatementVerifyingDerby.java