Uses of Interface
org.springframework.jdbc.core.JdbcOperations
Packages that use JdbcOperations
Package
Description
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
JdbcTemplate variant with named parameter support.
Simplification layer for common JDBC interactions.
Support classes for tests based on JDBC.
-
Uses of JdbcOperations in org.springframework.jdbc.core
Classes in org.springframework.jdbc.core that implement JdbcOperationsModifier and TypeClassDescriptionclass
This is the central delegate in the JDBC core package. It can be used directly for many data access purposes, supporting any kind of JDBC operation. -
Uses of JdbcOperations in org.springframework.jdbc.core.namedparam
Methods in org.springframework.jdbc.core.namedparam that return JdbcOperationsModifier and TypeMethodDescriptionNamedParameterJdbcOperations.getJdbcOperations()
Expose the classic Spring JdbcTemplate to allow invocation of classic JDBC operations.NamedParameterJdbcTemplate.getJdbcOperations()
Expose the classic Spring JdbcTemplate operations to allow invocation of less commonly used methods.Constructors in org.springframework.jdbc.core.namedparam with parameters of type JdbcOperationsModifierConstructorDescriptionNamedParameterJdbcTemplate
(JdbcOperations classicJdbcTemplate) Create a new NamedParameterJdbcTemplate for the given classic SpringJdbcTemplate
. -
Uses of JdbcOperations in org.springframework.jdbc.core.simple
Methods in org.springframework.jdbc.core.simple with parameters of type JdbcOperationsModifier and TypeMethodDescriptionstatic JdbcClient
JdbcClient.create
(JdbcOperations jdbcTemplate) -
Uses of JdbcOperations in org.springframework.test.jdbc
Methods in org.springframework.test.jdbc with parameters of type JdbcOperationsModifier and TypeMethodDescriptionstatic int
JdbcTestUtils.countRowsInTable
(JdbcOperations jdbcTemplate, String tableName) Count the rows in the given table.static int
JdbcTestUtils.countRowsInTableWhere
(JdbcOperations jdbcTemplate, String tableName, String whereClause) Count the rows in the given table, using the providedWHERE
clause.static int
JdbcTestUtils.deleteFromTables
(JdbcOperations jdbcTemplate, String... tableNames) Delete all rows from the specified tables.static int
JdbcTestUtils.deleteFromTableWhere
(JdbcOperations jdbcTemplate, String tableName, String whereClause, Object... args) Delete rows from the given table, using the providedWHERE
clause.static void
JdbcTestUtils.dropTables
(JdbcOperations jdbcTemplate, String... tableNames) Drop the specified tables.