30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
classcontents

...

概要

Styleclass
ClasstopLink

Running Custom SQL

You may want to run custom SQL against the Yellowfin configuration database as part of the installation. This could be used to further customise the installation, set additional configuration parameters, create additional users etc. This can be done by creating an XML file containing the SQL queries you want to run, including it in the installer archive (see インストーラーへのファイルの追加), and setting the following property:

Custom SQL

ページトップ

インストールの一環として、Yellowfin構成データベースに対してカスタムSQLを実行できます。これは、インストールを詳細にカスタマイズしたり、追加の設定パラメーターを設定したり、追加のユーザーを作成したりといった作業に使用できます。それには、実行するSQLクエリーが含まれるXMLファイルを作成してインストーラーアーカイブに含め(インストーラーへのファイルの追加を参照)、以下のプロパティを設定します:

カスタムSQL

プロパティProperty

resource.postsql

Value

This property points to a resource in the installer archive. This should be an XML file containing SQL commands to run against the Yellowfin configuration database after it has been set up.

このプロパティは、インストーラーアーカイブ内のリソースを指します。Yellowfin構成データベースの設定後に、このデータベースに対して実行するSQLコマンドが含まれるXMLファイルにする必要があります。

Example

resource.postsql=resources/postinstall.xml

The structure of the XML file is as follows:XMLファイルの構造は次のとおりです:

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<sql>
  <query> ... </query>
  <query> ... </query>
  ...
</sql>

Each of the <query> elements contains an SQL command to run against the Yellowfin configuration database. The file may contain any number of queries.

それぞれの<クエリー>要素には、Yellowfin構成データベースに対して実行するSQLコマンドが1つ格納されます。このファイルには、任意の数のクエリーを格納できます。

このXMLファイル内のSQLコマンドは、インストールプロセスの最後に、Yellowfinデータの設定が完了してから実行されます。Yellowfinサポートでは、このプロパティを使用したことによる問題のデバッグを支援しますが、構成データベースに対する変更は、お客様ご自身の責任で行ってください。The SQL commands in this XML file will be run at the end of the installation process, after the installer has finished setting up the Yellowfin data. Please note that while Yellowfin support will try to help debug any issues caused by using this property, modifications made to the configuration database are done at your own risk.

 

horizontalrule
Styleclass
ClasstopLink

Running Custom SQLページトップ