|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.dialect.StandardDialect
org.seasar.doma.jdbc.dialect.OracleDialect
public class OracleDialect
Oracle用の方言です。
| 入れ子のクラスの概要 | |
|---|---|
static class |
OracleDialect.OracleExpressionFunctions
Oracle用の ExpressionFunctions です。 |
static class |
OracleDialect.OracleJdbcMappingVisitor
Oracle用の JdbcMappingVisitor の実装です。 |
static class |
OracleDialect.OracleResultSetType
Oracle用の ResultSet の JdbcType の実装です。 |
static class |
OracleDialect.OracleScriptBlockContext
Oracle用の ScriptBlockContext です。 |
static class |
OracleDialect.OracleSqlLogFormattingVisitor
Oracle用の SqlLogFormattingVisitor の実装です。 |
| クラス org.seasar.doma.jdbc.dialect.StandardDialect から継承された入れ子のクラス/インタフェース |
|---|
StandardDialect.StandardExpressionFunctions, StandardDialect.StandardJdbcMappingVisitor, StandardDialect.StandardScriptBlockContext, StandardDialect.StandardSqlLogFormattingVisitor |
| フィールドの概要 | |
|---|---|
protected static JdbcType<ResultSet> |
RESULT_SET
ResultSet の JDBC型 |
protected static int |
UNIQUE_CONSTRAINT_VIOLATION_ERROR_CODE
一意制約違反を表すエラーコード |
| クラス org.seasar.doma.jdbc.dialect.StandardDialect から継承されたフィールド |
|---|
CLOSE_QUOTE, expressionFunctions, jdbcMappingVisitor, OPEN_QUOTE, sqlLogFormattingVisitor, UNIQUE_CONSTRAINT_VIOLATION_STATE_CODES |
| コンストラクタの概要 | |
|---|---|
OracleDialect()
インスタンスを構築します。 |
|
OracleDialect(ExpressionFunctions expressionFunctions)
ExpressionFunctions を指定してインスタンスを構築します。 |
|
OracleDialect(JdbcMappingVisitor jdbcMappingVisitor)
JdbcMappingVisitor を指定してインスタンスを構築します。 |
|
OracleDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor)
JdbcMappingVisitor と SqlLogFormattingVisitor
を指定してインスタンスを構築します。 |
|
OracleDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions)
JdbcMappingVisitor と SqlLogFormattingVisitor と
ExpressionFunctions を指定してインスタンスを構築します。 |
|
OracleDialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
SqlLogFormattingVisitor を指定してインスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
ScriptBlockContext |
createScriptBlockContext()
スクリプト内のSQLブロックのコンテキストを生成します。 |
String |
getName()
名前を返します。 |
JdbcType<ResultSet> |
getResultSetType()
ResultSet の JdbcType を返します。 |
String |
getScriptBlockDelimiter()
スクリプト内のSQLブロックの区切り文字を返します。 |
org.seasar.doma.internal.jdbc.sql.PreparedSql |
getSequenceNextValSql(String qualifiedSequenceName,
long allocationSize)
シーケンスの次の値を取得するためのSQLを返します。 |
boolean |
isUniqueConstraintViolated(SQLException sqlException)
一意制約違反かどうかを返します。 |
boolean |
supportsBatchUpdateResults()
Statement.executeBatch() が更新件数を返すことをサポートしているかどうかを返します。 |
boolean |
supportsIdentity()
IDENTITYをサポートしているかどうかを返します。 |
boolean |
supportsResultSetReturningAsOutParameter()
ストアドプロシージャ-やストアドファンクションで ResultSet
をOUTパラメータとして戻すことをサポートしてるかどうかを返します。 |
boolean |
supportsSelectForUpdate(SelectForUpdateType type,
boolean withTargets)
悲観的排他制御をサポートしているかどうかを返します。 |
boolean |
supportsSequence()
シーケンスをサポートするかどうかを返します。 |
protected SqlNode |
toForUpdateSqlNode(SqlNode sqlNode,
SelectForUpdateType forUpdateType,
int waitSeconds,
String... aliases)
悲観的排他制御用のSQLノードに変換します。 |
protected SqlNode |
toPagingSqlNode(SqlNode sqlNode,
long offset,
long limit)
ページング用のSQLノードに変換します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected static final int UNIQUE_CONSTRAINT_VIOLATION_ERROR_CODE
protected static final JdbcType<ResultSet> RESULT_SET
ResultSet の JDBC型
| コンストラクタの詳細 |
|---|
public OracleDialect()
public OracleDialect(JdbcMappingVisitor jdbcMappingVisitor)
JdbcMappingVisitor を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターpublic OracleDialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
SqlLogFormattingVisitor を指定してインスタンスを構築します。
sqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
をログ用のフォーマットされた文字列へと変換するビジターpublic OracleDialect(ExpressionFunctions expressionFunctions)
ExpressionFunctions を指定してインスタンスを構築します。
expressionFunctions - SQLのコメント式で利用可能な関数群
public OracleDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor)
JdbcMappingVisitor と SqlLogFormattingVisitor
を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターsqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
をログ用のフォーマットされた文字列へと変換するビジター
public OracleDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions)
JdbcMappingVisitor と SqlLogFormattingVisitor と
ExpressionFunctions を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターsqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
をログ用のフォーマットされた文字列へと変換するビジターexpressionFunctions - SQLのコメント式で利用可能な関数群| メソッドの詳細 |
|---|
public String getName()
Dialect の記述:
Dialect 内の getNameStandardDialect 内の getNamepublic boolean supportsBatchUpdateResults()
Dialect の記述:Statement.executeBatch() が更新件数を返すことをサポートしているかどうかを返します。
Dialect 内の supportsBatchUpdateResultsStandardDialect 内の supportsBatchUpdateResultstrue
protected SqlNode toForUpdateSqlNode(SqlNode sqlNode,
SelectForUpdateType forUpdateType,
int waitSeconds,
String... aliases)
StandardDialect の記述:
StandardDialect 内の toForUpdateSqlNodesqlNode - SQLノードforUpdateType - 悲観的排他制御の種別waitSeconds - ロック取得の待機時間(秒)aliases - ロック対象のカラムやテーブルのエイリアス
protected SqlNode toPagingSqlNode(SqlNode sqlNode,
long offset,
long limit)
StandardDialect の記述:
StandardDialect 内の toPagingSqlNodesqlNode - SQLノードoffset - オフセットlimit - リミット
public boolean isUniqueConstraintViolated(SQLException sqlException)
Dialect の記述:
Dialect 内の isUniqueConstraintViolatedStandardDialect 内の isUniqueConstraintViolatedsqlException - SQL例外
true
public org.seasar.doma.internal.jdbc.sql.PreparedSql getSequenceNextValSql(String qualifiedSequenceName,
long allocationSize)
Dialect の記述:
Dialect.supportsSequence() が true を返す場合にのみ呼び出し可能です。
Dialect 内の getSequenceNextValSqlStandardDialect 内の getSequenceNextValSqlqualifiedSequenceName - シーケンスの完全修飾名allocationSize - 割り当てサイズ
public boolean supportsIdentity()
Dialect の記述:
Dialect 内の supportsIdentityStandardDialect 内の supportsIdentitytruepublic boolean supportsSequence()
Dialect の記述:
Dialect 内の supportsSequenceStandardDialect 内の supportsSequencetrue
public boolean supportsSelectForUpdate(SelectForUpdateType type,
boolean withTargets)
Dialect の記述:
Dialect 内の supportsSelectForUpdateStandardDialect 内の supportsSelectForUpdatetype - 悲観的排他制御の種別withTargets - ロックの対象が指定されている場合 true
truepublic boolean supportsResultSetReturningAsOutParameter()
Dialect の記述:ResultSet
をOUTパラメータとして戻すことをサポートしてるかどうかを返します。
Dialect 内の supportsResultSetReturningAsOutParameterStandardDialect 内の supportsResultSetReturningAsOutParametertruepublic JdbcType<ResultSet> getResultSetType()
Dialect の記述:ResultSet の JdbcType を返します。
Dialect.supportsResultSetReturningAsOutParameter() が true
を返す場合にのみ呼び出し可能です。
Dialect 内の getResultSetTypeStandardDialect 内の getResultSetTypeResultSet の JdbcTypepublic String getScriptBlockDelimiter()
Dialect の記述:
Dialect 内の getScriptBlockDelimiterStandardDialect 内の getScriptBlockDelimiterpublic ScriptBlockContext createScriptBlockContext()
Dialect の記述:
Dialect 内の createScriptBlockContextStandardDialect 内の createScriptBlockContext
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||