- PR -

Oracle JDBCDriver の ojdbc14_g.jarの使い方は?

1
投稿者投稿内容
ohmix1
会議室デビュー日: 2004/08/23
投稿数: 4
投稿日時: 2004-08-23 14:42
はじめまして。

現在、Oracle JDBCDriver(V10.1.0)のJDK 1.4用である
ojdbc14.jar JDBCクラス(1,322KB)
を利用して開発をおこなっています。

オラクルのサイトには、
ojdbc14_g.jar JDBCクラス(デバッグ、トレース) (1,653KB)
というのもありますが、これを利用するとデバッグ、トレースができるのでしょうか?
利用方法がわからないのですが、ご存知の方いらっしゃいませんでしょうか。

tnk
会議室デビュー日: 2003/06/03
投稿数: 4
投稿日時: 2004-08-23 16:17
はじめまして。

その認識で大体あっていると思います。
私はよくSQLのバインド変数にセットされている値をデバッグで見たりしています。

情報源が、英語で申し訳ないですが。。
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_readme9201.html

--------以下抜粋---------
OracleLog
Significant increase in the number of methods that include calls
to OracleLog. Also, you can enable OracleLog tracing by setting
system properties. Set oracle.jdbc.Trace to "true" to enable
tracing. Set oracle.jdbc.LogFile to set the name of the trace
output file. If this is not set trace output is sent to
System.out. OracleLog tracing is only available in the debug
classes files, classes111_g.*, classes12_g.*, and ojdbc_g.jar.
ohmix1
会議室デビュー日: 2004/08/23
投稿数: 4
投稿日時: 2004-08-23 17:11

tnk様、ありがとうございます。

ふむふむ、システムプロパティに設定すればよいわけですね。
しかし、説明がこれだけとは...
1

スキルアップ/キャリアアップ(JOB@IT)