Uses of Class
org.springframework.jdbc.core.JdbcTemplate
Package
Description
JdbcTemplate variant with named parameter support.
Simplification layer for common JDBC interactions.
Classes supporting the
org.springframework.jdbc.core
package.The classes in this package represent RDBMS queries, updates, and stored
procedures as threadsafe, reusable objects.
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
Support classes for integrating the Spring TestContext Framework
with TestNG.
-
Uses of JdbcTemplate in org.springframework.jdbc.core.namedparam
Modifier and TypeMethodDescriptionNamedParameterJdbcTemplate.getJdbcTemplate()
Expose the classic SpringJdbcTemplate
itself, if available, in particular for passing it on to otherJdbcTemplate
consumers. -
Uses of JdbcTemplate in org.springframework.jdbc.core.simple
Modifier and TypeMethodDescriptionAbstractJdbcCall.getJdbcTemplate()
Get the configuredJdbcTemplate
.AbstractJdbcInsert.getJdbcTemplate()
Get the configuredJdbcTemplate
.ModifierConstructorDescriptionprotected
AbstractJdbcCall
(JdbcTemplate jdbcTemplate) Constructor to be used when initializing using aJdbcTemplate
.protected
AbstractJdbcInsert
(JdbcTemplate jdbcTemplate) Constructor to be used when initializing using aJdbcTemplate
.SimpleJdbcCall
(JdbcTemplate jdbcTemplate) Alternative Constructor that takes one parameter with the JdbcTemplate to be used.SimpleJdbcInsert
(JdbcTemplate jdbcTemplate) Alternative constructor that accepts theJdbcTemplate
to be used. -
Uses of JdbcTemplate in org.springframework.jdbc.core.support
Modifier and TypeMethodDescriptionprotected JdbcTemplate
JdbcDaoSupport.createJdbcTemplate
(DataSource dataSource) Create a JdbcTemplate for the given DataSource.final JdbcTemplate
JdbcDaoSupport.getJdbcTemplate()
Return the JdbcTemplate for this DAO, pre-initialized with the DataSource or set explicitly.Modifier and TypeMethodDescriptionvoid
JdbcBeanDefinitionReader.setJdbcTemplate
(JdbcTemplate jdbcTemplate) Deprecated.Set the JdbcTemplate to be used by this bean factory.final void
JdbcDaoSupport.setJdbcTemplate
(JdbcTemplate jdbcTemplate) Set the JdbcTemplate for this DAO explicitly, as an alternative to specifying a DataSource. -
Uses of JdbcTemplate in org.springframework.jdbc.object
Modifier and TypeMethodDescriptionRdbmsOperation.getJdbcTemplate()
Return theJdbcTemplate
used by this operation object.Modifier and TypeMethodDescriptionvoid
RdbmsOperation.setJdbcTemplate
(JdbcTemplate jdbcTemplate) An alternative to the more commonly usedRdbmsOperation.setDataSource(javax.sql.DataSource)
when you want to use the sameJdbcTemplate
in multipleRdbmsOperations
.ModifierConstructorDescriptionprotected
StoredProcedure
(JdbcTemplate jdbcTemplate, String name) Create a new object wrapper for a stored procedure. -
Uses of JdbcTemplate in org.springframework.test.context.junit4
Modifier and TypeFieldDescriptionprotected final JdbcTemplate
AbstractTransactionalJUnit4SpringContextTests.jdbcTemplate
TheJdbcTemplate
that this base class manages, available to subclasses. -
Uses of JdbcTemplate in org.springframework.test.context.testng
Modifier and TypeFieldDescriptionprotected final JdbcTemplate
AbstractTransactionalTestNGSpringContextTests.jdbcTemplate
TheJdbcTemplate
that this base class manages, available to subclasses.