public class CmsQueryStringParameter extends java.lang.Object implements I_CmsQueryParameter
构造器和说明 |
---|
CmsQueryStringParameter(java.lang.String 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 CmsQueryStringParameter(java.lang.String param)
param
- the value to use for this parameterpublic void insertIntoQuery(javax.persistence.Query q, int index) throws javax.persistence.PersistenceException
I_CmsQueryParameter
insertIntoQuery
在接口中 I_CmsQueryParameter
q
- 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)