Package | Description |
---|---|
org.springframework.jdbc.core.simple |
Simplification layer over JdbcTemplate for Java 5 and above.
|
org.springframework.jdbc.core.support |
Classes supporting the
org.springframework.jdbc.core package. |
org.springframework.jdbc.object |
The classes in this package represent RDBMS queries, updates,
and stored procedures as threadsafe, reusable objects.
|
Modifier and Type | Method and Description |
---|---|
JdbcTemplate |
AbstractJdbcInsert.getJdbcTemplate()
Get the configured
JdbcTemplate . |
JdbcTemplate |
AbstractJdbcCall.getJdbcTemplate()
Get the configured
JdbcTemplate . |
Constructor and Description |
---|
AbstractJdbcCall(JdbcTemplate jdbcTemplate)
Constructor to be used when initializing using a
JdbcTemplate . |
AbstractJdbcInsert(JdbcTemplate jdbcTemplate)
Constructor to be used when initializing using a
JdbcTemplate . |
SimpleJdbcCall(JdbcTemplate jdbcTemplate)
Alternative Constructor that takes one parameter with the JdbcTemplate to be used.
|
SimpleJdbcInsert(JdbcTemplate jdbcTemplate)
Alternative Constructor that takes one parameter with the JdbcTemplate to be used.
|
Modifier and Type | Method and Description |
---|---|
protected JdbcTemplate |
JdbcDaoSupport.createJdbcTemplate(DataSource dataSource)
Create a JdbcTemplate for the given DataSource.
|
JdbcTemplate |
JdbcDaoSupport.getJdbcTemplate()
Return the JdbcTemplate for this DAO,
pre-initialized with the DataSource or set explicitly.
|
Modifier and Type | Method and Description |
---|---|
void |
JdbcBeanDefinitionReader.setJdbcTemplate(JdbcTemplate jdbcTemplate)
Set the JdbcTemplate to be used by this bean factory.
|
void |
JdbcDaoSupport.setJdbcTemplate(JdbcTemplate jdbcTemplate)
Set the JdbcTemplate for this DAO explicitly,
as an alternative to specifying a DataSource.
|
Modifier and Type | Method and Description |
---|---|
JdbcTemplate |
RdbmsOperation.getJdbcTemplate()
Return the JdbcTemplate object used by this object.
|
Modifier and Type | Method and Description |
---|---|
void |
RdbmsOperation.setJdbcTemplate(JdbcTemplate jdbcTemplate)
An alternative to the more commonly used setDataSource() when you want to
use the same JdbcTemplate in multiple RdbmsOperations.
|
Constructor and Description |
---|
StoredProcedure(JdbcTemplate jdbcTemplate,
String name)
Create a new object wrapper for a stored procedure.
|
Copyright © 2025. All rights reserved.