org.springframework.orm.hibernate3.HibernateTemplate中有处理占位符的函数吗?是哪个函数?
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/19 16:26:32
org.springframework.orm.hibernate3.HibernateTemplate中有处理占位符的函数吗?是哪个函数?
org.springframework.orm.hibernate3.HibernateTemplate中有处理占位符的函数吗?是哪个函数?
org.springframework.orm.hibernate3.HibernateTemplate中有处理占位符的函数吗?是哪个函数?
public java.util.List find(java.lang.String queryString,
java.lang.Object... values)
throws DataAccessExceptionDescription copied from interface: HibernateOperationsExecute an HQL query, binding a number of values to "?" parameters in the query string.
Specified by:find in interface HibernateOperationsParameters:queryString - a query expressed in Hibernate's query languagevalues - the values of the parametersReturns:a List containing the results of the query executionThrows:DataAccessException - in case of Hibernate errorsSee Also:Session.createQuery(java.lang.String)