Support for INSERT ... ON DUPLICATE KEY UPDATE Syntax
Bug #842558 reported by
Timo Westkämper
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Support for MySQL specific SQL : http://
To post a comment you must log in.
Supported now in MySQLQueryFactory :
public SQLInsertClause insertOnDuplica teKeyUpdate( RelationalPath< ?> entity, String clause) {
SQLInsertClaus e insert = insert(entity);
insert. addFlag( Position. END, " on duplicate key update " + clause);
return insert;
}