public class ProcedureParameterImpl<T> extends QueryParameterImpl<T> implements ProcedureParameterImplementor<T>
| Constructor and Description |
|---|
ProcedureParameterImpl(ParameterRegistrationImplementor<T> nativeParamRegistration) |
| Modifier and Type | Method and Description |
|---|---|
void |
enablePassingNulls(boolean enabled)
Controls how unbound values for this IN/INOUT parameter registration will be handled prior to
execution.
|
javax.persistence.ParameterMode |
getMode()
Retrieves the parameter "mode".
|
java.lang.String |
getName() |
ParameterRegistrationImplementor<T> |
getNativeParameterRegistration() |
java.lang.Integer |
getPosition() |
boolean |
isJpaPositionalParameter()
JPA has a different definition of positional parameters than what legacy Hibernate HQL had.
|
boolean |
isPassNullsEnabled()
How will an unbound value be handled in terms of the JDBC parameter?
|
getParameterType, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic ProcedureParameterImpl(ParameterRegistrationImplementor<T> nativeParamRegistration)
public javax.persistence.ParameterMode getMode()
ProcedureParameterParameterMode.INgetMode in interface ProcedureParameter<T>public boolean isPassNullsEnabled()
ProcedureParameterisPassNullsEnabled in interface ProcedureParameter<T>true here indicates that NULL should be passed; false indicates
that it is ignored.ParameterRegistrationImplementor.isPassNullsEnabled()public void enablePassingNulls(boolean enabled)
ProcedureParameterParameterRegistration.enablePassingNulls(boolean)enablePassingNulls in interface ProcedureParameter<T>enabled - true indicates that the NULL should be passed; false indicates it should not.ParameterRegistration.enablePassingNulls(boolean)public boolean isJpaPositionalParameter()
QueryParameterisJpaPositionalParameter in interface QueryParameter<T>true if this is a JPA-style positional parameter; false would indicate
we have either a named parameter (Parameter.getName() would return a non-null value) or a native
Hibernate positional parameter.public java.lang.String getName()
getName in interface javax.persistence.Parameter<T>public java.lang.Integer getPosition()
getPosition in interface javax.persistence.Parameter<T>public ParameterRegistrationImplementor<T> getNativeParameterRegistration()
getNativeParameterRegistration in interface ProcedureParameterImplementor<T>Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.