类的使用
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中的方法 修饰符和类型 方法 说明 voidAbstractJdbcCall. compile()Compile this JdbcCall using provided parameters and meta-data plus other settings.voidAbstractJdbcInsert. compile()Compile this JdbcInsert using provided parameters and meta-data plus other settings.org.springframework.jdbc.object中InvalidDataAccessApiUsageException的使用
抛出InvalidDataAccessApiUsageException的org.springframework.jdbc.object中的方法 修饰符和类型 方法 说明 voidRdbmsOperation. compile()Compile this query.protected abstract voidRdbmsOperation. compileInternal()Subclasses must implement this template method to perform their own compilation.voidRdbmsOperation. declareParameter(SqlParameter param)Declare a parameter for this operation.voidStoredProcedure. declareParameter(SqlParameter param)Declare a parameter.voidRdbmsOperation. setTypes(int[] types)Add anonymous parameters, specifying only their SQL types as defined in thejava.sql.Typesclass.protected voidRdbmsOperation. validateNamedParameters(Map<String,?> parameters)Validate the named parameters passed to an execute method based on declared parameters.protected voidRdbmsOperation. 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中的方法 修饰符和类型 方法 说明 NumberGeneratedKeyHolder. getKey()NumberKeyHolder. 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的子类 修饰符和类型 类 说明 classSqlXmlFeatureNotImplementedExceptionException 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 voidHibernateTemplate. checkWriteOperationAllowed(Session session)Check whether write operations are allowed on the given Session.