Uses of Class
com.pyranid.Database.Builder
-
Uses of Database.Builder in com.pyranid
Methods in com.pyranid that return Database.BuilderModifier and TypeMethodDescriptionDatabase.Builder.ambiguousTimestampBindingStrategy(@Nullable AmbiguousTimestampBindingStrategy ambiguousTimestampBindingStrategy) Configures how Pyranid bindsInstantandOffsetDateTimeparameters when JDBC parameter metadata cannot identify whether the target isTIMESTAMPorTIMESTAMP WITH TIME ZONE.Configures a database-wide JDBC fetch size default.Database.Builder.instanceProvider(@Nullable InstanceProvider instanceProvider) Configures a database-wide JDBC maximum row count default.Database.Builder.metricsCollector(@Nullable MetricsCollector metricsCollector) Configures the metrics collector for theDatabasebeing built.Database.Builder.parameterRedactor(@Nullable ParameterRedactor parameterRedactor) Configures the redactor used for non-secure parameters in diagnostics.Database.Builder.parsedSqlCacheCapacity(@Nullable Integer parsedSqlCacheCapacity) Configures the size of the parsed SQL cache.Database.Builder.preparedStatementBinder(@Nullable PreparedStatementBinder preparedStatementBinder) Database.Builder.queryTimeout(@Nullable Duration queryTimeout) Configures a database-wide JDBC query timeout default.Database.Builder.resultSetMapper(@Nullable ResultSetMapper resultSetMapper) Database.Builder.statementLogger(@Nullable StatementLogger statementLogger) Configures the statement logger for theDatabasebeing built.Configures the database time zone Pyranid should use when converting zone-less temporal values.static @NonNull Database.BuilderDatabase.with(@NonNull DataSource dataSource, @NonNull DatabaseType databaseType) Provides aDatabasebuilder for the givenDataSourceand database type.