Package de.bytefish.pgbulkinsert
Class PgBulkInsert<TEntity>
java.lang.Object
de.bytefish.pgbulkinsert.PgBulkInsert<TEntity>
- All Implemented Interfaces:
IPgBulkInsert<TEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionPgBulkInsert(IConfiguration configuration, AbstractMapping<TEntity> mapping) PgBulkInsert(AbstractMapping<TEntity> mapping) -
Method Summary
-
Constructor Details
-
PgBulkInsert
-
PgBulkInsert
-
-
Method Details
-
saveAll
public void saveAll(org.postgresql.PGConnection connection, Stream<TEntity> entities) throws SQLException - Specified by:
saveAllin interfaceIPgBulkInsert<TEntity>- Throws:
SQLException
-
saveAll
public void saveAll(org.postgresql.PGConnection connection, Collection<TEntity> entities) throws SQLException - Throws:
SQLException
-