Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.param
Class NamedParameterSpecification  view NamedParameterSpecification download NamedParameterSpecification.java

java.lang.Object
  extended byorg.hibernate.param.AbstractExplicitParameterSpecification
      extended byorg.hibernate.param.NamedParameterSpecification
All Implemented Interfaces:
ExplicitParameterSpecification, ParameterSpecification

public class NamedParameterSpecification
extends AbstractExplicitParameterSpecification
implements ParameterSpecification

Relates to an explicit query named-parameter.


Field Summary
private  java.lang.String name
           
 
Fields inherited from class org.hibernate.param.AbstractExplicitParameterSpecification
 
Constructor Summary
NamedParameterSpecification(int sourceLine, int sourceColumn, java.lang.String name)
           
 
Method Summary
 int bind(java.sql.PreparedStatement statement, org.hibernate.engine.QueryParameters qp, org.hibernate.engine.SessionImplementor session, int position)
          Bind the appropriate value into the given statement at the specified position.
 java.lang.String getName()
           
 java.lang.String renderDisplayInfo()
           
 
Methods inherited from class org.hibernate.param.AbstractExplicitParameterSpecification
getExpectedType, getSourceColumn, getSourceLine, setExpectedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.param.ParameterSpecification
getExpectedType, setExpectedType
 

Field Detail

name

private final java.lang.String name
Constructor Detail

NamedParameterSpecification

public NamedParameterSpecification(int sourceLine,
                                   int sourceColumn,
                                   java.lang.String name)
Method Detail

bind

public int bind(java.sql.PreparedStatement statement,
                org.hibernate.engine.QueryParameters qp,
                org.hibernate.engine.SessionImplementor session,
                int position)
         throws java.sql.SQLException
Bind the appropriate value into the given statement at the specified position.

Specified by:
bind in interface ParameterSpecification

renderDisplayInfo

public java.lang.String renderDisplayInfo()
Specified by:
renderDisplayInfo in interface ParameterSpecification

getName

public java.lang.String getName()