Uses of Interface
org.springframework.jdbc.core.simple.JdbcClient
Packages that use JdbcClient
Package
Description
Simplification layer for common JDBC interactions.
Support classes for tests based on JDBC.
-
Uses of JdbcClient in org.springframework.jdbc.core.simple
Methods in org.springframework.jdbc.core.simple that return JdbcClientModifier and TypeMethodDescriptionstatic JdbcClientJdbcClient.create(DataSource dataSource) Create aJdbcClientfor the givenDataSource.static JdbcClientJdbcClient.create(JdbcOperations jdbcTemplate) static JdbcClientJdbcClient.create(NamedParameterJdbcOperations jdbcTemplate) Create aJdbcClientfor the givenNamedParameterJdbcOperationsdelegate, typically anNamedParameterJdbcTemplate. -
Uses of JdbcClient in org.springframework.test.jdbc
Methods in org.springframework.test.jdbc with parameters of type JdbcClientModifier and TypeMethodDescriptionstatic intJdbcTestUtils.countRowsInTable(JdbcClient jdbcClient, String tableName) Count the rows in the given table.static intJdbcTestUtils.countRowsInTableWhere(JdbcClient jdbcClient, String tableName, String whereClause) Count the rows in the given table, using the providedWHEREclause.static intJdbcTestUtils.deleteFromTables(JdbcClient jdbcClient, String... tableNames) Delete all rows from the specified tables.static intJdbcTestUtils.deleteFromTableWhere(JdbcClient jdbcClient, String tableName, String whereClause, Object... args) Delete rows from the given table, using the providedWHEREclause.static voidJdbcTestUtils.dropTables(JdbcClient jdbcClient, String... tableNames) Drop the specified tables.