FileDocCategorySizeDatePackage
VersionTypeSeedParameterSpecification.javaAPI DocHibernate 3.2.51231Wed Nov 02 11:47:40 GMT 2005org.hibernate.param

VersionTypeSeedParameterSpecification

public class VersionTypeSeedParameterSpecification extends Object implements org.hibernate.param.ParameterSpecification
Implementation of VersionTypeSeedParameterSpecification.
author
Steve Ebersole

Fields Summary
private org.hibernate.type.VersionType
type
Constructors Summary
public VersionTypeSeedParameterSpecification(org.hibernate.type.VersionType type)

		this.type = type;
	
Methods Summary
public intbind(java.sql.PreparedStatement statement, org.hibernate.engine.QueryParameters qp, org.hibernate.engine.SessionImplementor session, int position)

see
org.hibernate.param.ParameterSpecification#bind

		type.nullSafeSet( statement, type.seed( session ), position, session );
		return 1;
	
public org.hibernate.type.TypegetExpectedType()

		return type;
	
public java.lang.StringrenderDisplayInfo()

		return "version-seed, type=" + type;
	
public voidsetExpectedType(org.hibernate.type.Type expectedType)

		// expected type is intrinsic here...