Command (ADO for Java Syntax)

Constructor

public Command()
public Command( String text )

Methods

public void cancel()

public com.ms.ado.Parameter createParameter(String Name, int Type, int Direction, int Size, Object Value)

public Recordset execute( Object[] parameters )
public Recordset execute( Object[] parameters, int options )
public Recordset execute()

public int executeUpdate( Object[] parameters )
public int executeUpdate( Object[] parameters, int options )
public int executeUpdate()

Properties

public com.ms.ado.Connection getActiveConnection()
public void setActiveConnection( com.ms.ado.Connection con )
public void setActiveConnection( String conString )

public String getCommandText()
public void setCommandText( String command )

public int getCommandTimeout()
public void setCommandTimeout(int timeout)

public int getCommandType()
public void setCommandType( int type )

public String getName()
public void setName( String name )

public boolean getPrepared()
public void setPrepared(boolean prepared)

public int getState()

public com.ms.ado.Parameter getParameter( int n )
public com.ms.ado.Parameter getParameter( String n )

public com.ms.ado.Parameters getParameters()

public AdoProperties getProperties()