public class PgBulkInsert<TEntity> extends Object implements IPgBulkInsert<TEntity>
| Constructor and Description |
|---|
PgBulkInsert(AbstractMapping<TEntity> mapping) |
PgBulkInsert(IConfiguration configuration,
AbstractMapping<TEntity> mapping) |
| Modifier and Type | Method and Description |
|---|---|
void |
saveAll(org.postgresql.PGConnection connection,
Collection<TEntity> entities) |
void |
saveAll(org.postgresql.PGConnection connection,
java.util.stream.Stream<TEntity> entities) |
public PgBulkInsert(AbstractMapping<TEntity> mapping)
public PgBulkInsert(IConfiguration configuration, AbstractMapping<TEntity> mapping)
public void saveAll(org.postgresql.PGConnection connection,
java.util.stream.Stream<TEntity> entities)
throws SQLException
saveAll in interface IPgBulkInsert<TEntity>SQLExceptionpublic void saveAll(org.postgresql.PGConnection connection,
Collection<TEntity> entities)
throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.