Module org.seasar.doma.core
Class NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys,Integer>
org.seasar.doma.jdbc.criteria.statement.NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys
public class NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys
extends AbstractStatement<NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys,Integer>
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionNativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys(Config config, InsertDeclaration declaration) -
Method Summary
Modifier and TypeMethodDescriptionkeys(PropertyMetamodel<?>... keys) Specify the keys used for duplicate checking UPSERT statement.Methods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
asSql, createCommenter, execute, peek
-
Constructor Details
-
NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys
public NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys(Config config, InsertDeclaration declaration)
-
-
Method Details
-
keys
Specify the keys used for duplicate checking UPSERT statement. if no keys are specified, theIdproperty are used for duplicate checking.- Parameters:
keys- keys the keys used for duplicate checking- Returns:
- selecting set statement builder
-
createCommand
- Specified by:
createCommandin classAbstractStatement<NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys,Integer>
-