Uses of Record Class
io.bloviate.db.Database
Packages that use Database
-
Uses of Database in io.bloviate.db
Constructors in io.bloviate.db with parameters of type DatabaseModifierConstructorDescriptionBuilder(Connection connection, Database database, DatabaseConfiguration databaseConfiguration) Creates a builder for a filler bound to the given connection, database metadata, and configuration.TableFiller(Connection connection, Database database, DatabaseConfiguration databaseConfiguration, Table table, CommitStrategy commitStrategy) Constructs a new TableFiller with an explicitCommitStrategyoverride. -
Uses of Database in io.bloviate.ext
Methods in io.bloviate.ext with parameters of type DatabaseModifier 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.default 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. -
Uses of Database in io.bloviate.util
Methods in io.bloviate.util that return DatabaseModifier and TypeMethodDescriptionstatic DatabaseDatabaseUtils.getMetadata(Connection connection) Extracts complete database metadata from a Connection.static DatabaseDatabaseUtils.getMetadata(DataSource dataSource) Extracts complete database metadata from a DataSource.Methods in io.bloviate.util with parameters of type DatabaseModifier and TypeMethodDescriptionstatic ColumnDatabaseUtils.getAssociatedPrimaryKeyColumn(Database database, Table table, Column column) Traverses foreign key relationships to find the root primary key column.