private void setIdentityInsert (String tableName, Boolean isSetIdentityOn) throws SQLException {
      String valueToSetIdentity;
      if (Boolean.TRUE.equals(isSetIdentityOn)) valueToSetIdentity = "ON";
      else valueToSetIdentity = "OFF";

      Statement stmt = this.getConnection().createStatement();
      String sqlCommand = "IF OBJECTPROPERTY(OBJECT_ID('" +
          tableName +
          "'), 'TableHasIdentity') = 1 " +
          "SET IDENTITY_INSERT " +
          tableName +
          " " +
          valueToSetIdentity;
      LOG.info(sqlCommand);
      stmt.executeUpdate(sqlCommand);
      stmt.close();
   }
Constructs the SqlManager.

@param opts the ReplicaDB ToolOptions describing the user's requested action.
src/main/java/org/replicadb/manager/SQLServerManager.java