org.hibernate.param
Interface ExplicitParameterSpecification

All Superinterfaces:
ParameterSpecification
All Known Implementing Classes:
AbstractExplicitParameterSpecification, NamedParameterSpecification, PositionalParameterSpecification

public interface ExplicitParameterSpecification
extends ParameterSpecification

An additional contract for parameters which originate from parameters explicitly encountered in the source statement (HQL or native-SQL).

Author:
Steve Ebersole

Method Summary
 int getSourceColumn()
          Retrieves the column number (within the getSourceLine()) where this parameter occurs.
 int getSourceLine()
          Retrieves the line number on which this parameter occurs in the source query.
 
Methods inherited from interface org.hibernate.param.ParameterSpecification
bind, getExpectedType, renderDisplayInfo, setExpectedType
 

Method Detail

getSourceLine

int getSourceLine()
Retrieves the line number on which this parameter occurs in the source query.

Returns:
The line number.

getSourceColumn

int getSourceColumn()
Retrieves the column number (within the getSourceLine()) where this parameter occurs.

Returns:
The column number.


Copyright © 2009 Hibernate.org. All Rights Reserved.