|
|
This text is a description of integration of Sybase ASE as the target
database in a TDK generated application.
このテキストはTDKを利用したアプリケーションのデータベースとして、
Sybase ASEを組み込む場合の説明です。
Sybase has a pure java jdbc driver, jConnect, that is free to use, but not
open source. You may download this driver from
Sybase.
Sybaseには、jConnectというPure JavaのJDBCドライバがあります。
これは利用は自由ですが、オープンソースではありません。
このドライバはSybaseからダウンロードできます。
- Generate your application with the TDK as normal.
- Edit the project properties as instructed by the TDK.
-
Before you run 'build.sh init' you will need to create the
database. Automatic database creation for Sybase does not currently
work, so the database must be created first.
- Place the jConnect jar file in your WEB-INF/lib directory.
- Run 'build.sh init' to generate and initialize the project.
- TDKで通常どおりアプリケーションを作成してください。
- TDKで指示されているとおりにプロジェクトのプロパティを編集してください。
-
'build.sh init'を実行する前に、データベースを作成する必要があります。
Sybaseの場合、データベースの自動作成は現在のところ機能しないので、
データベースを最初に作成しなければなりません。
- jConnectのJARファイルを WEB-INF/lib ディレクトリに置いてください
- プロジェクトの初期化と生成を行う 'build.sh init' を実行してください。
-
The .sql files that the TDK build process generates files with the
sql command terminated by a ; for use in the sql directive provided by
the Ant build system. These scripts will not work properly if run by
hand via the 'isql' command.
-
The .sql files to create the tables, do not correctly remove any
constraints on the tables currently and may fail. Drop the tables by
hand, then re-run 'build-project.sh insert-sql' to re-create and
populate the tables.
-
TDKのビルド処理で生成された.sqlファイルの、
Ant ビルドシステムによって提供されるSQLコマンドは ; で終了しています。
もし'isql'コマンドによって手動で実行する場合、これらのスクリプトは正常に作動しません。
-
テーブルを作成する.sqlファイルは、現在のところ、
テーブルの制約の削除がうまくいかず、失敗するかもしれません。
手動でテーブルをドロップし、
次に、再度テーブルを作成するための'build-project.sh insert-sql'を実行してください。
|