protected void applyUseSchema(String schema) throws SQLException {
  if (schema != null && schema.length() > 0 && !schema.equals(this.currentSchema)) {
    currentSchema=schema;
    if (conn.supportsUseDefaultSchema())     statement.addBatch(conn.getUseSchemaQuery(schema));
  }
}

protected void applyUseSchema ( String schema ) throws SQLException { if ( schema != null && schema . length ( ) > 0 && ! schema . equals ( this . currentSchema ) ) { currentSchema = schema ; if ( conn . supportsUseDefaultSchema ( ) ) statement . addBatch ( conn . getUseSchemaQuery ( schema ) ) ; } }
applysetuseschema adds to the batch the query used to change the current schema where queries should be executed , if needed and if possible ( if the database support such a feature )
