public class QueryParameter extends Object
| Constructor and Description |
|---|
QueryParameter(String name,
Object value) |
QueryParameter(String name,
Object value,
org.hibernate.type.Type type) |
QueryParameter(org.hibernate.type.Type type) |
public QueryParameter(String name, Object value)
name - the name of the parametervalue - the value of the parameterpublic QueryParameter(String name, Object value, org.hibernate.type.Type type)
name - the name of the parametervalue - the value of the parametertype - Hibernate type of the parameter (or null if
none specified)public QueryParameter(org.hibernate.type.Type type)
public String getName()
public Object getValue()
public org.hibernate.type.Type getType()
public void applyNamedParameterToQuery(org.hibernate.Query queryObject)
throws org.hibernate.HibernateException
queryObject - the Query objectorg.hibernate.HibernateException - if thrown by the Query objectCopyright © 2004–2015. All rights reserved.