Module org.seasar.doma.core
Class NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet,Integer>
org.seasar.doma.jdbc.criteria.statement.NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet
public class NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet
extends AbstractStatement<NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet,Integer>
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionNativeSqlUpsertOnDuplicateKeyUpdateSelectingSet(Config config, InsertDeclaration declaration) -
Method Summary
Modifier and TypeMethodDescriptionSpecify the set clause for the UPSERT statement.Methods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
asSql, createCommenter, execute, peek
-
Constructor Details
-
NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet
public NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet(Config config, InsertDeclaration declaration)
-
-
Method Details
-
set
Specify the set clause for the UPSERT statement. if no set-value are specified, the insert value that excludeIdproperties are used for set value.- Parameters:
block- the consumer to set the clause- Returns:
- terminal statement
-
createCommand
- Specified by:
createCommandin classAbstractStatement<NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet,Integer>
-