public class CmsQueryIntParameter extends java.lang.Object implements I_CmsQueryParameter
| 构造器和说明 |
|---|
CmsQueryIntParameter(int param)
Creates a new parameter value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
insertIntoQuery(javax.persistence.Query q,
int index)
Implementations of this interface should set the index-th parameter of the prepared statement.
|
public CmsQueryIntParameter(int param)
param - the value to use for this parameterpublic void insertIntoQuery(javax.persistence.Query q,
int index)
throws javax.persistence.PersistenceException
I_CmsQueryParameterinsertIntoQuery 在接口中 I_CmsQueryParameterq - the query in which to set the value of a bind variableindex - the index of a bind variablejavax.persistence.PersistenceException - if something goes wrongI_CmsQueryParameter.insertIntoQuery(javax.persistence.Query, int)