クラス org.objectweb.cjdbc.common.util.Constants

すべてのメンバ一覧

説明

Constants that are common to the console, driver and controller modules

作者:
Nicolas Modrzyk

Constants.java32 行で定義されています。

Static Public メソッド

final int getMajorVersion ()
final int getMinorVersion ()

Static Public 変数

final String VERSION = "@VERSION@"
final int SQL_SHORT_FORM_LENGTH = 40
final int CONTROLLER_SHUTDOWN_SMART = 1
final int CONTROLLER_SHUTDOWN_FAST = 2
final int CONTROLLER_SHUTDOWN_IMMEDIATE = 3
final int DEFAULT_SHUTDOWN_MODE = CONTROLLER_SHUTDOWN_IMMEDIATE


メソッド

final int org.objectweb.cjdbc.common.util.Constants.getMajorVersion  )  [static]
 

C-JDBC major version

戻り値:
major version
Constants.java42 行で定義されています。

参照先 org.objectweb.cjdbc.common.util.Constants.VERSION.

00043 { 00044 int ind = VERSION.indexOf('.'); 00045 if (ind > 0) 00046 return Integer.parseInt(VERSION.substring(0, ind)); 00047 else 00048 return 1; 00049 }

final int org.objectweb.cjdbc.common.util.Constants.getMinorVersion  )  [static]
 

C-JDBC minor version

戻り値:
minor version
Constants.java56 行で定義されています。

参照先 org.objectweb.cjdbc.common.util.Constants.VERSION.

00057 { 00058 int ind = VERSION.indexOf('.'); 00059 if (ind > 0) 00060 return Integer.parseInt(VERSION.substring(ind + 1, ind + 2)); 00061 else 00062 return 0; 00063 }


変数

final int org.objectweb.cjdbc.common.util.Constants.CONTROLLER_SHUTDOWN_FAST = 2 [static]
 

Shutdown Mode Fast: Finish transaction and shutdown Constants.java75 行で定義されています。

final int org.objectweb.cjdbc.common.util.Constants.CONTROLLER_SHUTDOWN_IMMEDIATE = 3 [static]
 

Shutdown Mode Immediate: Does not wait for end of transaction and kill all connections Recovery will be needed Constants.java80 行で定義されています。

final int org.objectweb.cjdbc.common.util.Constants.CONTROLLER_SHUTDOWN_SMART = 1 [static]
 

Shutdown Mode Smart: Wait for all clients to disconnect Constants.java73 行で定義されています。

final int org.objectweb.cjdbc.common.util.Constants.DEFAULT_SHUTDOWN_MODE = CONTROLLER_SHUTDOWN_IMMEDIATE [static]
 

Default shutdown mode Constants.java83 行で定義されています。

final int org.objectweb.cjdbc.common.util.Constants.SQL_SHORT_FORM_LENGTH = 40 [static]
 

Maximum number of characters to display when a SQL statement is logged into a Exception. Constants.java69 行で定義されています。

final String org.objectweb.cjdbc.common.util.Constants.VERSION = "@VERSION@" [static]
 

C-JDBC version. Constants.java35 行で定義されています。

参照元 org.objectweb.cjdbc.common.util.Constants.getMajorVersion(), と org.objectweb.cjdbc.common.util.Constants.getMinorVersion().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:19 2004に生成されました。 doxygen 1.3.8