|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.dialect.StandardDialect
org.seasar.doma.jdbc.dialect.Mssql2008Dialect
public class Mssql2008Dialect
Microsoft SQL Server 2008用の方言です。
| 入れ子のクラスの概要 | |
|---|---|
static class |
Mssql2008Dialect.Mssql2008ExpressionFunctions
Microsoft SQL Server 2008用の ExpressionFunctions です。 |
static class |
Mssql2008Dialect.Mssql2008JdbcMappingVisitor
Microsoft SQL Server 2008用の JdbcMappingVisitor の実装です。 |
static class |
Mssql2008Dialect.Mssql2008ScriptBlockContext
Microsoft SQL Server 2008用の ScriptBlockContext です。 |
static class |
Mssql2008Dialect.Mssql2008SqlLogFormattingVisitor
Microsoft SQL Server 2008用の 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 |
| コンストラクタの概要 | |
|---|---|
Mssql2008Dialect()
インスタンスを構築します。 |
|
Mssql2008Dialect(ExpressionFunctions expressionFunctions)
ExpressionFunctions を指定してインスタンスを構築します。 |
|
Mssql2008Dialect(JdbcMappingVisitor jdbcMappingVisitor)
Mssql2008Dialect.Mssql2008JdbcMappingVisitor を指定してインスタンスを構築します。 |
|
Mssql2008Dialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor)
Mssql2008Dialect.Mssql2008JdbcMappingVisitor と SqlLogFormattingVisitor
を指定してインスタンスを構築します。 |
|
Mssql2008Dialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions)
Mssql2008Dialect.Mssql2008JdbcMappingVisitor と SqlLogFormattingVisitor と
ExpressionFunctions を指定してインスタンスを構築します。 |
|
Mssql2008Dialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
SqlLogFormattingVisitor を指定してインスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
ScriptBlockContext |
createScriptBlockContext()
スクリプト内のSQLブロックのコンテキストを生成します。 |
String |
getName()
名前を返します。 |
String |
getScriptBlockDelimiter()
スクリプト内のSQLブロックの区切り文字を返します。 |
boolean |
isUniqueConstraintViolated(SQLException sqlException)
一意制約違反かどうかを返します。 |
boolean |
supportsAutoGeneratedKeys()
Statement.getGeneratedKeys() をサポートしているかどうかを返します。 |
boolean |
supportsIdentity()
IDENTITYをサポートしているかどうかを返します。 |
boolean |
supportsSelectForUpdate(SelectForUpdateType type,
boolean withTargets)
悲観的排他制御をサポートしているかどうかを返します。 |
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 Mssql2008Dialect()
public Mssql2008Dialect(JdbcMappingVisitor jdbcMappingVisitor)
Mssql2008Dialect.Mssql2008JdbcMappingVisitor を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターpublic Mssql2008Dialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
SqlLogFormattingVisitor を指定してインスタンスを構築します。
sqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
をログ用のフォーマットされた文字列へと変換するビジターpublic Mssql2008Dialect(ExpressionFunctions expressionFunctions)
ExpressionFunctions を指定してインスタンスを構築します。
expressionFunctions - SQLのコメント式で利用可能な関数群
public Mssql2008Dialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor)
Mssql2008Dialect.Mssql2008JdbcMappingVisitor と SqlLogFormattingVisitor
を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターsqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
をログ用のフォーマットされた文字列へと変換するビジター
public Mssql2008Dialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions)
Mssql2008Dialect.Mssql2008JdbcMappingVisitor と SqlLogFormattingVisitor と
ExpressionFunctions を指定してインスタンスを構築します。
jdbcMappingVisitor - Wrapper をJDBCの型とマッピングするビジターsqlLogFormattingVisitor - SQLのバインド変数にマッピングされる Wrapper
をログ用のフォーマットされた文字列へと変換するビジターexpressionFunctions - SQLのコメント式で利用可能な関数群| メソッドの詳細 |
|---|
public String getName()
Dialect の記述:
Dialect 内の getNameStandardDialect 内の getName
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例外
truepublic boolean supportsIdentity()
Dialect の記述:
Dialect 内の supportsIdentityStandardDialect 内の supportsIdentitytrue
public boolean supportsSelectForUpdate(SelectForUpdateType type,
boolean withTargets)
Dialect の記述:
Dialect 内の supportsSelectForUpdateStandardDialect 内の supportsSelectForUpdatetype - 悲観的排他制御の種別withTargets - ロックの対象が指定されている場合 true
truepublic boolean supportsAutoGeneratedKeys()
Dialect の記述:Statement.getGeneratedKeys() をサポートしているかどうかを返します。
Dialect 内の supportsAutoGeneratedKeysStandardDialect 内の supportsAutoGeneratedKeystruepublic String getScriptBlockDelimiter()
Dialect の記述:
Dialect 内の getScriptBlockDelimiterStandardDialect 内の getScriptBlockDelimiterpublic ScriptBlockContext createScriptBlockContext()
Dialect の記述:
Dialect 内の createScriptBlockContextStandardDialect 内の createScriptBlockContext
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||