Skip to content

Commit b951ad4

Browse files
committed
Fix onDuplicateKey.
1 parent c7f8518 commit b951ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doma-core/src/main/java/org/seasar/doma/jdbc/criteria/statement/EntityqlMultiInsertStatement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public EntityqlMultiInsertStatement(
4242
*
4343
* @return statement
4444
*/
45-
public EntityqlMultiInsertStatement<ENTITY> onDuplicateKeyUpdate() {
45+
public Statement<MultiResult<ENTITY>> onDuplicateKeyUpdate() {
4646
this.duplicateKeyType = DuplicateKeyType.UPDATE;
4747
return this;
4848
}
@@ -52,7 +52,7 @@ public EntityqlMultiInsertStatement<ENTITY> onDuplicateKeyUpdate() {
5252
*
5353
* @return statement
5454
*/
55-
public EntityqlMultiInsertStatement<ENTITY> onDuplicateKeyIgnore() {
55+
public Statement<MultiResult<ENTITY>> onDuplicateKeyIgnore() {
5656
this.duplicateKeyType = DuplicateKeyType.IGNORE;
5757
return this;
5858
}

0 commit comments

Comments
 (0)