| 
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.dialect.StandardDialect
org.seasar.doma.jdbc.dialect.H212126Dialect
public class H212126Dialect
H2のバージョン1.2.126で稼動実績のある方言です。
| 入れ子のクラスの概要 | |
|---|---|
static class | 
H212126Dialect.H212126ExpressionFunctions
H2のバージョン1.2.126用の ExpressionFunctions です。 | 
static class | 
H212126Dialect.H212126JdbcMappingVisitor
H2のバージョン1.2.126用の JdbcMappingVisitor の実装です。 | 
static class | 
H212126Dialect.H212126SqlLogFormattingVisitor
H2のバージョン1.2.126用の SqlLogFormattingVisitor の実装です。 | 
| クラス org.seasar.doma.jdbc.dialect.StandardDialect から継承された入れ子のクラス/インタフェース | 
|---|
StandardDialect.StandardExpressionFunctions, StandardDialect.StandardJdbcMappingVisitor, StandardDialect.StandardScriptBlockContext, StandardDialect.StandardSqlLogFormattingVisitor | 
| フィールドの概要 | |
|---|---|
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 | 
| コンストラクタの概要 | |
|---|---|
H212126Dialect()
インスタンスを構築します。  | 
|
H212126Dialect(ExpressionFunctions expressionFunctions)
ExpressionFunctions を指定してインスタンスを構築します。 | 
|
H212126Dialect(JdbcMappingVisitor jdbcMappingVisitor)
H212126Dialect.H212126JdbcMappingVisitor を指定してインスタンスを構築します。 | 
|
H212126Dialect(JdbcMappingVisitor jdbcMappingVisitor,
               SqlLogFormattingVisitor sqlLogFormattingVisitor)
H212126Dialect.H212126JdbcMappingVisitor と SqlLogFormattingVisitor
 を指定してインスタンスを構築します。 | 
|
H212126Dialect(JdbcMappingVisitor jdbcMappingVisitor,
               SqlLogFormattingVisitor sqlLogFormattingVisitor,
               ExpressionFunctions expressionFunctions)
H212126Dialect.H212126JdbcMappingVisitor と SqlLogFormattingVisitor と
 ExpressionFunctions を指定してインスタンスを構築します。 | 
|
H212126Dialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
SqlLogFormattingVisitor を指定してインスタンスを構築します。 | 
|
| メソッドの概要 | |
|---|---|
 org.seasar.doma.internal.jdbc.sql.PreparedSql | 
getIdentitySelectSql(String qualifiedTableName,
                     String columnName)
データベースで生成されたIDENTITYを取得するためのSQLを返します。  | 
 String | 
getName()
名前を返します。  | 
 org.seasar.doma.internal.jdbc.sql.PreparedSql | 
getSequenceNextValSql(String qualifiedSequenceName,
                      long allocationSize)
シーケンスの次の値を取得するためのSQLを返します。  | 
 boolean | 
includesIdentityColumn()
INSERT文にIDENTITYカラムを含むかどうかを返します。  | 
 boolean | 
isUniqueConstraintViolated(SQLException sqlException)
一意制約違反かどうかを返します。  | 
 boolean | 
supportsAutoGeneratedKeys()
Statement.getGeneratedKeys() をサポートしているかどうかを返します。 | 
 boolean | 
supportsIdentity()
IDENTITYをサポートしているかどうかを返します。  | 
 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
| コンストラクタの詳細 | 
|---|
public H212126Dialect()
public H212126Dialect(JdbcMappingVisitor jdbcMappingVisitor)
H212126Dialect.H212126JdbcMappingVisitor を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターpublic H212126Dialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
SqlLogFormattingVisitor を指定してインスタンスを構築します。
sqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
            をログ用のフォーマットされた文字列へと変換するビジターpublic H212126Dialect(ExpressionFunctions expressionFunctions)
ExpressionFunctions を指定してインスタンスを構築します。
expressionFunctions - SQLのコメント式で利用可能な関数群
public H212126Dialect(JdbcMappingVisitor jdbcMappingVisitor,
                      SqlLogFormattingVisitor sqlLogFormattingVisitor)
H212126Dialect.H212126JdbcMappingVisitor と SqlLogFormattingVisitor
 を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターsqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
            をログ用のフォーマットされた文字列へと変換するビジター
public H212126Dialect(JdbcMappingVisitor jdbcMappingVisitor,
                      SqlLogFormattingVisitor sqlLogFormattingVisitor,
                      ExpressionFunctions expressionFunctions)
H212126Dialect.H212126JdbcMappingVisitor と SqlLogFormattingVisitor と
 ExpressionFunctions を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターsqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
            をログ用のフォーマットされた文字列へと変換するビジターexpressionFunctions - SQLのコメント式で利用可能な関数群| メソッドの詳細 | 
|---|
public String getName()
Dialect の記述:
Dialect 内の getNameStandardDialect 内の getNamepublic boolean includesIdentityColumn()
Dialect の記述:
Dialect 内の includesIdentityColumnStandardDialect 内の includesIdentityColumntrue
public org.seasar.doma.internal.jdbc.sql.PreparedSql getIdentitySelectSql(String qualifiedTableName,
                                                                          String columnName)
Dialect の記述:
 Dialect.supportsIdentity() が true を返す場合にのみ呼び出し可能です。
Dialect 内の getIdentitySelectSqlStandardDialect 内の getIdentitySelectSqlqualifiedTableName - テーブルの完全修飾名columnName - IDENTITYカラムの名前
public org.seasar.doma.internal.jdbc.sql.PreparedSql getSequenceNextValSql(String qualifiedSequenceName,
                                                                           long allocationSize)
Dialect の記述:
 Dialect.supportsSequence() が true を返す場合にのみ呼び出し可能です。
Dialect 内の getSequenceNextValSqlStandardDialect 内の getSequenceNextValSqlqualifiedSequenceName - シーケンスの完全修飾名allocationSize - 割り当てサイズ
public boolean isUniqueConstraintViolated(SQLException sqlException)
Dialect の記述:
Dialect 内の isUniqueConstraintViolatedStandardDialect 内の isUniqueConstraintViolatedsqlException - SQL例外
true
protected SqlNode toPagingSqlNode(SqlNode sqlNode,
                                  long offset,
                                  long limit)
StandardDialect の記述:
StandardDialect 内の toPagingSqlNodesqlNode - SQLノードoffset - オフセットlimit - リミット
protected SqlNode toForUpdateSqlNode(SqlNode sqlNode,
                                     SelectForUpdateType forUpdateType,
                                     int waitSeconds,
                                     String... aliases)
StandardDialect の記述:
StandardDialect 内の toForUpdateSqlNodesqlNode - SQLノードforUpdateType - 悲観的排他制御の種別waitSeconds - ロック取得の待機時間(秒)aliases - ロック対象のカラムやテーブルのエイリアス
public boolean supportsIdentity()
Dialect の記述:
Dialect 内の supportsIdentityStandardDialect 内の supportsIdentitytruepublic boolean supportsSequence()
Dialect の記述:
Dialect 内の supportsSequenceStandardDialect 内の supportsSequencetruepublic boolean supportsAutoGeneratedKeys()
Dialect の記述:Statement.getGeneratedKeys() をサポートしているかどうかを返します。
Dialect 内の supportsAutoGeneratedKeysStandardDialect 内の supportsAutoGeneratedKeystrue
public boolean supportsSelectForUpdate(SelectForUpdateType type,
                                       boolean withTargets)
Dialect の記述:
Dialect 内の supportsSelectForUpdateStandardDialect 内の supportsSelectForUpdatetype - 悲観的排他制御の種別withTargets - ロックの対象が指定されている場合 true
true
  | 
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||