Package | Description |
---|---|
org.springframework.jdbc.core.simple |
Simplification layer for table inserts and stored procedure calls.
|
org.springframework.jdbc.object |
The classes in this package represent RDBMS queries, updates,
and stored procedures as threadsafe, reusable objects.
|
org.springframework.jdbc.support |
Support classes for the JDBC framework, used by the classes in the
jdbc.core and jdbc.object packages.
|
org.springframework.jdbc.support.xml |
Abstraction for handling fields of SQLXML data type.
|
org.springframework.orm.hibernate5 |
Package providing integration of
Hibernate 5.x
with Spring concepts.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractJdbcInsert.compile()
Compile this JdbcInsert using provided parameters and meta-data plus other settings.
|
void |
AbstractJdbcCall.compile()
Compile this JdbcCall using provided parameters and meta-data plus other settings.
|
Modifier and Type | Method and Description |
---|---|
void |
RdbmsOperation.compile()
Compile this query.
|
protected abstract void |
RdbmsOperation.compileInternal()
Subclasses must implement this template method to perform their own compilation.
|
void |
RdbmsOperation.declareParameter(SqlParameter param)
Declare a parameter for this operation.
|
void |
StoredProcedure.declareParameter(SqlParameter param)
Declare a parameter.
|
void |
RdbmsOperation.setTypes(int[] types)
Add anonymous parameters, specifying only their SQL types
as defined in the
java.sql.Types class. |
protected void |
RdbmsOperation.validateNamedParameters(Map<String,?> parameters)
Validate the named parameters passed to an execute method based on declared parameters.
|
protected void |
RdbmsOperation.validateParameters(Object[] parameters)
Validate the parameters passed to an execute method based on declared parameters.
|
Modifier and Type | Method and Description |
---|---|
Number |
KeyHolder.getKey()
Retrieve the first item from the first map, assuming that there is just
one item and just one map, and that the item is a number.
|
Number |
GeneratedKeyHolder.getKey() |
<T> T |
KeyHolder.getKeyAs(Class<T> keyType)
Retrieve the first item from the first map, assuming that there is just
one item and just one map, and that the item is an instance of specified type.
|
<T> T |
GeneratedKeyHolder.getKeyAs(Class<T> keyType) |
Map<String,Object> |
KeyHolder.getKeys()
Retrieve the first map of keys.
|
Map<String,Object> |
GeneratedKeyHolder.getKeys() |
Modifier and Type | Class and Description |
---|---|
class |
SqlXmlFeatureNotImplementedException
Exception thrown when the underlying implementation does not support the
requested feature of the API.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HibernateTemplate.checkWriteOperationAllowed(Session session)
Check whether write operations are allowed on the given Session.
|