类的使用
org.springframework.dao.InvalidDataAccessApiUsageException
使用InvalidDataAccessApiUsageException的程序包 程序包 说明 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.org.springframework.jdbc.core.simple中InvalidDataAccessApiUsageException的使用
抛出InvalidDataAccessApiUsageException的org.springframework.jdbc.core.simple中的方法 修饰符和类型 方法 说明 void
AbstractJdbcCall. compile()
Compile this JdbcCall using provided parameters and meta-data plus other settings.void
AbstractJdbcInsert. compile()
Compile this JdbcInsert using provided parameters and meta-data plus other settings.org.springframework.jdbc.object中InvalidDataAccessApiUsageException的使用
抛出InvalidDataAccessApiUsageException的org.springframework.jdbc.object中的方法 修饰符和类型 方法 说明 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 thejava.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.org.springframework.jdbc.support中InvalidDataAccessApiUsageException的使用
抛出InvalidDataAccessApiUsageException的org.springframework.jdbc.support中的方法 修饰符和类型 方法 说明 Number
GeneratedKeyHolder. getKey()
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.Map<String,Object>
GeneratedKeyHolder. getKeys()
Map<String,Object>
KeyHolder. getKeys()
Retrieve the first map of keys.org.springframework.jdbc.support.xml中InvalidDataAccessApiUsageException的使用
org.springframework.jdbc.support.xml中InvalidDataAccessApiUsageException的子类 修饰符和类型 类 说明 class
SqlXmlFeatureNotImplementedException
Exception thrown when the underlying implementation does not support the requested feature of the API.org.springframework.orm.hibernate5中InvalidDataAccessApiUsageException的使用
抛出InvalidDataAccessApiUsageException的org.springframework.orm.hibernate5中的方法 修饰符和类型 方法 说明 protected void
HibernateTemplate. checkWriteOperationAllowed(Session session)
Check whether write operations are allowed on the given Session.