SqlInsert.Apply| Constructor and Description |
|---|
SqlInsertImpl(Connection connection,
DatabaseMock mock,
String sql,
Options options) |
public SqlInsertImpl(Connection connection, DatabaseMock mock, String sql, Options options)
@Nonnull public SqlInsert argBoolean(Boolean arg)
argBoolean in interface SqlInsert@Nonnull public SqlInsert argBoolean(@Nonnull String argName, Boolean arg)
argBoolean in interface SqlInsert@Nonnull public SqlInsert argInteger(Integer arg)
argInteger in interface SqlInsert@Nonnull public SqlInsert argInteger(@Nonnull String argName, Integer arg)
argInteger in interface SqlInsert@Nonnull public SqlInsert argBigDecimal(BigDecimal arg)
argBigDecimal in interface SqlInsert@Nonnull public SqlInsert argBigDecimal(@Nonnull String argName, BigDecimal arg)
argBigDecimal in interface SqlInsert@Nonnull public SqlInsert argDateNowPerApp()
argDateNowPerApp in interface SqlInsert@Nonnull public SqlInsert argDateNowPerApp(@Nonnull String argName)
argDateNowPerApp in interface SqlInsert@Nonnull public SqlInsert argDateNowPerDb()
argDateNowPerDb in interface SqlInsert@Nonnull public SqlInsert argDateNowPerDb(@Nonnull String argName)
argDateNowPerDb in interface SqlInsert@Nonnull public SqlInsert argBlobBytes(byte[] arg)
argBlobBytes in interface SqlInsert@Nonnull public SqlInsert argBlobBytes(@Nonnull String argName, byte[] arg)
argBlobBytes in interface SqlInsert@Nonnull public SqlInsert argBlobStream(InputStream arg)
argBlobStream in interface SqlInsert@Nonnull public SqlInsert argBlobStream(@Nonnull String argName, InputStream arg)
argBlobStream in interface SqlInsert@Nonnull public SqlInsert argClobString(String arg)
argClobString in interface SqlInsert@Nonnull public SqlInsert argClobString(@Nonnull String argName, String arg)
argClobString in interface SqlInsert@Nonnull public SqlInsert argClobReader(Reader arg)
argClobReader in interface SqlInsert@Nonnull public SqlInsert argClobReader(@Nonnull String argName, Reader arg)
argClobReader in interface SqlInsert@Nonnull public SqlInsert apply(SqlInsert.Apply apply)
public SqlInsert batch()
SqlInsertpublic void insertBatch()
SqlInsertinsertBatch in interface SqlInsertpublic int[] insertBatchUnchecked()
SqlInsertinsertBatchUnchecked in interface SqlInsertpublic Long insertReturningPkSeq(String primaryKeyColumnName)
SqlInsertThis version of insert expects exactly one row to be inserted, and will throw a DatabaseException if that isn't the case.
insertReturningPkSeq in interface SqlInsertpublic <T> T insertReturning(String tableName, String primaryKeyColumnName, RowsHandler<T> handler, String... otherColumnNames)
insertReturning in interface SqlInsert@Nonnull public SqlInsert argPkSeq(@Nonnull String argName, @Nonnull String sequenceName)
SqlInsertCopyright © 2016. All rights reserved.