クラス StandardDialect
- java.lang.Object
-
- com.github.mygreen.sqlmapper.core.dialect.DialectBase
-
- com.github.mygreen.sqlmapper.core.dialect.StandardDialect
-
- すべての実装されたインタフェース:
Dialect
public class StandardDialect extends DialectBase
標準のDBの方言定義。- 作成者:
- T.TSUCHIE
-
-
フィールドの概要
-
クラスから継承されたフィールド com.github.mygreen.sqlmapper.core.dialect.DialectBase
operationHandlerMap
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 StandardDialect()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 StringgetName()方言の名称を取得します。org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementergetSequenceIncrementer(DataSource dataSource, String sequenceName)シーケンスをインクリメントする処理を取得します。booleansupportsGenerationType(GeneratedValue.GenerationType generationType)サポートする主キーの生成戦略を判定します。-
クラスから継承されたメソッド com.github.mygreen.sqlmapper.core.dialect.DialectBase
convertGetCountSql, convertLimitSql, getCountSql, getDefaultGenerationType, getForUpdateSql, getHintComment, getOperationHandlerMap, getValueType, needsParameterForResultSet, register, supportsSelectForUpdate
-
-
-
-
メソッドの詳細
-
getName
public String getName()
方言の名称を取得します。この値は、
SqlTemplateEngine.setSuffixName(String)にも使用されます。- 戻り値:
- "standard" を返す。
-
supportsGenerationType
public boolean supportsGenerationType(GeneratedValue.GenerationType generationType)
サポートする主キーの生成戦略を判定します。- パラメータ:
generationType- 主キーの生成戦略。- 戻り値:
-
getSequenceIncrementer
public org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getSequenceIncrementer(DataSource dataSource, String sequenceName)
シーケンスをインクリメントする処理を取得します。- パラメータ:
dataSource- データソースsequenceName- シーケンス名- 戻り値:
- シーケンスはサポートしないため nullを返す。
-
-