- ScriptException - Exception in org.springframework.r2dbc.connection.init
-
Root of the hierarchy of data access exceptions that are related to processing
of SQL scripts.
- ScriptException(String) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptException
-
Create a new ScriptException.
- ScriptException(String, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptException
-
Create a new ScriptException.
- ScriptParseException - Exception in org.springframework.r2dbc.connection.init
-
Thrown by
ScriptUtils if an SQL script cannot be properly parsed.
- ScriptParseException(String, EncodedResource) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptParseException
-
Create a new ScriptParseException.
- ScriptParseException(String, EncodedResource, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptParseException
-
Create a new ScriptParseException.
- ScriptStatementFailedException - Exception in org.springframework.r2dbc.connection.init
-
Thrown by
ScriptUtils if a statement in an SQL script failed when
executing it against the target database.
- ScriptStatementFailedException(String, int, EncodedResource, Throwable) - Constructor for exception org.springframework.r2dbc.connection.init.ScriptStatementFailedException
-
Create a new ScriptStatementFailedException.
- ScriptUtils - Class in org.springframework.r2dbc.connection.init
-
Generic utility methods for working with SQL scripts in conjunction with R2DBC.
- ScriptUtils() - Constructor for class org.springframework.r2dbc.connection.init.ScriptUtils
-
- setAutoCommit(boolean) - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Set whether the returned
Connection's "autoCommit" setting should
be overridden.
- setBeanFactory(BeanFactory) - Method in class org.springframework.r2dbc.connection.lookup.BeanFactoryConnectionFactoryLookup
-
- setBlockCommentEndDelimiter(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the end delimiter that identifies block comments within the SQL
scripts.
- setBlockCommentStartDelimiter(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the start delimiter that identifies block comments within the SQL
scripts.
- setCommentPrefix(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the prefix that identifies single-line comments within the SQL scripts.
- setCommentPrefixes(String...) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the prefixes that identify single-line comments within the SQL scripts.
- setConnection(Connection) - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
Override the existing Connection with the given
Connection.
- setConnectionFactories(Map<String, ConnectionFactory>) - Method in class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
The
ConnectionFactory for the database to populate when this
component is initialized and to clean up when this component is shut down.
- setConnectionFactory(ConnectionFactory) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
- setConnectionFactoryLookup(ConnectionFactoryLookup) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- setContinueOnError(boolean) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Flag to indicate that all failures in SQL should be logged but not cause a failure.
- setDatabaseCleaner(DatabasePopulator) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
Set the
DatabasePopulator to execute during the bean destruction
phase, cleaning up the database and leaving it in a known state for others.
- setDatabasePopulator(DatabasePopulator) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
- setDataBufferFactory(DataBufferFactory) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the DataBufferFactory to use for Resource loading.
- setDefaultTargetConnectionFactory(Object) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- setEnabled(boolean) - Method in class org.springframework.r2dbc.connection.init.ConnectionFactoryInitializer
-
- setEnforceReadOnly(boolean) - Method in class org.springframework.r2dbc.connection.R2dbcTransactionManager
-
Specify whether to enforce the read-only nature of a transaction (as indicated by
TransactionDefinition.isReadOnly() through an explicit statement on the
transactional connection: "SET TRANSACTION READ ONLY" as understood by Oracle,
MySQL and Postgres.
- setIgnoreFailedDrops(boolean) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Flag to indicate that a failed SQL DROP statement can be ignored.
- setLenientFallback(boolean) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- setPopulators(DatabasePopulator...) - Method in class org.springframework.r2dbc.connection.init.CompositeDatabasePopulator
-
Specify one or more populators to delegate to.
- setScripts(Resource...) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Set the scripts to execute to initialize or clean up the database,
replacing any previously added scripts.
- setSeparator(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Specify the statement separator, if a custom one.
- setSqlScriptEncoding(String) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Specify the encoding for the configured SQL scripts,
if different from the platform encoding.
- setSqlScriptEncoding(Charset) - Method in class org.springframework.r2dbc.connection.init.ResourceDatabasePopulator
-
Specify the encoding for the configured SQL scripts,
if different from the platform encoding.
- setSuppressClose(boolean) - Method in class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Set whether the returned
Connection should be a close-suppressing proxy
or the physical
Connection.
- setTargetConnectionFactories(Map<?, ?>) - Method in class org.springframework.r2dbc.connection.lookup.AbstractRoutingConnectionFactory
-
- setTransactionActive(boolean) - Method in class org.springframework.r2dbc.connection.ConnectionHolder
-
Set whether this holder represents an active, R2DBC-managed transaction.
- SingleConnectionFactory - Class in org.springframework.r2dbc.connection
-
- SingleConnectionFactory(ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Constructor for bean-style configuration.
- SingleConnectionFactory(String, boolean) - Constructor for class org.springframework.r2dbc.connection.SingleConnectionFactory
-
Create a new SingleConnectionFactory using an R2DBC connection URL.
- SingleConnectionFactory(Connection, ConnectionFactoryMetadata, boolean) - Constructor for class org.springframework.r2dbc.connection.SingleConnectionFactory
-
- SingleConnectionFactoryLookup - Class in org.springframework.r2dbc.connection.lookup
-
- SingleConnectionFactoryLookup(ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.lookup.SingleConnectionFactoryLookup
-
- spliterator() - Method in class org.springframework.r2dbc.core.binding.Bindings
-
- sql(String) - Method in interface org.springframework.r2dbc.core.DatabaseClient
-
Specify a static sql statement to run.
- sql(Supplier<String>) - Method in interface org.springframework.r2dbc.core.DatabaseClient
-
- SqlProvider - Interface in org.springframework.r2dbc.core
-
Interface to be implemented by objects that can provide SQL strings.
- StatementFilterFunction - Interface in org.springframework.r2dbc.core
-