Top Description Methods
org.hibernate.query.criteria.internal.compile

public Interface ImplicitParameterBinding

Imports
javax.persistence.TypedQuery

Used to describe implicit (not defined in criteria query) parameters.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
bind(TypedQuery<X>
The JPA query.
typedQuery
)

Bind the implicit parameter's value to the JPA query.

public Class<T>

Returns:

The java type
getJavaType
()

Get the java type of the "thing" that led to the implicit parameter.

public String

Returns:

The parameter name.
getParameterName
()

Retrieve the generated name of the implicit parameter.

Method Detail

bindback to summary
public void bind(TypedQuery<X> typedQuery)

Bind the implicit parameter's value to the JPA query.

Parameters
typedQuery:TypedQuery<X>

The JPA query.

getJavaTypeback to summary
public Class<T> getJavaType()

Get the java type of the "thing" that led to the implicit parameter. Used from org.hibernate.jpa.spi.HibernateEntityManagerImplementor.QueryOptions#getNamedParameterExplicitTypes() in determining "guessed type" overriding.

Returns:Class<T>

The java type

getParameterNameback to summary
public String getParameterName()

Retrieve the generated name of the implicit parameter.

Returns:String

The parameter name.