Methods Summary |
---|
public NamedParameterDescriptor | getNamedParameterDescriptor(java.lang.String name)
NamedParameterDescriptor meta = ( NamedParameterDescriptor ) namedDescriptorMap.get( name );
if ( meta == null ) {
throw new QueryParameterException( "could not locate named parameter [" + name + "]" );
}
return meta;
|
public org.hibernate.type.Type | getNamedParameterExpectedType(java.lang.String name)
return getNamedParameterDescriptor( name ).getExpectedType();
|
public java.util.Set | getNamedParameterNames()
return namedDescriptorMap.keySet();
|
public int[] | getNamedParameterSourceLocations(java.lang.String name)
return getNamedParameterDescriptor( name ).getSourceLocations();
|
public int | getOrdinalParameterCount()
return ordinalDescriptors.length;
|
public OrdinalParameterDescriptor | getOrdinalParameterDescriptor(int position)
if ( position < 1 || position > ordinalDescriptors.length ) {
throw new IndexOutOfBoundsException( "Remember that ordinal parameters are 1-based!" );
}
return ordinalDescriptors[position - 1];
|
public org.hibernate.type.Type | getOrdinalParameterExpectedType(int position)
return getOrdinalParameterDescriptor( position ).getExpectedType();
|
public int | getOrdinalParameterSourceLocation(int position)
return getOrdinalParameterDescriptor( position ).getSourceLocation();
|