public class MySQLReplaceClause extends SQLInsertClause
MySQLReplaceClause
is a REPLACE INTO clause
REPLACE works exactly like INSERT, except that if an old row in the table has the same value as a new row for a PRIMARY KEY or a UNIQUE index, the old row is deleted before the new row is inserted.
configuration, context, listeners, useLiterals
Constructor and Description |
---|
MySQLReplaceClause(Connection connection,
Configuration configuration,
RelationalPath<?> entity) |
MySQLReplaceClause(Connection connection,
SQLTemplates templates,
RelationalPath<?> entity) |
addBatch, addFlag, addFlag, clear, columns, execute, executeWithKey, executeWithKey, executeWithKeys, executeWithKeys, executeWithKeys, getBatchCount, getSQL, isEmpty, populate, populate, select, set, set, setBatchToBulk, setNull, toString, values
addListener, cleanupMDC, close, close, close, connection, createBindings, createSerializer, endContext, executeBatch, logQuery, onException, reset, setParameters, setUseLiterals, startContext
public MySQLReplaceClause(Connection connection, SQLTemplates templates, RelationalPath<?> entity)
public MySQLReplaceClause(Connection connection, Configuration configuration, RelationalPath<?> entity)
Copyright © 2007–2016 Querydsl. All rights reserved.