Uses of Record Class
io.bloviate.ext.BulkLoadHandle
Packages that use BulkLoadHandle
-
Uses of BulkLoadHandle in io.bloviate.ext
Methods in io.bloviate.ext that return BulkLoadHandleModifier and TypeMethodDescriptiondefault BulkLoadHandleDatabaseSupport.disableConstraints(Connection connection, Database database) Disables foreign-key (and, where applicable, unique) enforcement for the duration of a bulk load, on the given connection's session.MySQLSupport.disableConstraints(Connection connection, Database database) DisablesFOREIGN_KEY_CHECKSandUNIQUE_CHECKSfor the session.PostgresSupport.disableConstraints(Connection connection, Database database) Setssession_replication_role = replicaon the connection, which stops user and foreign-key triggers (including referential-integrity checks) from firing for the session.static BulkLoadHandleCreates a handle with the given description.Methods in io.bloviate.ext with parameters of type BulkLoadHandleModifier and TypeMethodDescriptiondefault voidDatabaseSupport.enableConstraints(Connection connection, Database database, BulkLoadHandle handle) Re-enables whatDatabaseSupport.disableConstraints(Connection, Database)turned off, on the same connection.voidMySQLSupport.enableConstraints(Connection connection, Database database, BulkLoadHandle handle) RestoresUNIQUE_CHECKSandFOREIGN_KEY_CHECKSto1for the session before the connection is returned to the pool.voidPostgresSupport.enableConstraints(Connection connection, Database database, BulkLoadHandle handle) Restoressession_replication_role = origin, re-enabling trigger and foreign-key firing for the session before the connection is returned to the pool.