Uses of Interface
org.springframework.jdbc.core.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
Modifier 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
Modifier 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.ModifierConstructorDescriptionNamedParameterJdbcTemplate
(JdbcOperations classicJdbcTemplate) Create a new NamedParameterJdbcTemplate for the given classic SpringJdbcTemplate
. -
Uses of JdbcOperations in org.springframework.jdbc.core.simple
Modifier and TypeMethodDescriptionstatic JdbcClient
JdbcClient.create
(JdbcOperations jdbcTemplate) -
Uses of JdbcOperations in org.springframework.test.jdbc
Modifier 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.