it.eng.spago.dbaccess.sql.command.legacy
Class LegacyCommandCreator

java.lang.Object
  extended byit.eng.spago.dbaccess.sql.command.legacy.LegacyCommandCreator
All Implemented Interfaces:
CommandCreator

public class LegacyCommandCreator
extends java.lang.Object
implements CommandCreator

Questa Classe è una factory concreta di CommandCreator per la creazione di oggetti SQLCommand che fanno uso delle sole caratteristiche di JDBC 1.0


Constructor Summary
LegacyCommandCreator()
           
 
Method Summary
 SQLCommand createDeleteCommand(DataConnection dataConnection, java.lang.String commandString)
          Crea un SQLCommand di delete data una DataConnection e la CommandString per driver jdbc 1.0
 SQLCommand createInsertCommand(DataConnection dataConnection, java.lang.String commandString)
          Crea un SQLCommand di insert data una DataConnection e la CommandString per driver jdbc 1.0
 SQLCommand createSelectCommand(DataConnection dataConnection, java.lang.String commandString, boolean scroll)
          Crea un SQLCommand di select data una DataConnection e la CommandString per driver jdbc 1.0
 SQLCommand createStoredProcedureCommand(DataConnection dataConnection, java.lang.String commandString)
          Crea un SQLCommand per l'esecuzione di una stored procedure data una DataConnection e la CommandString
 SQLCommand createUpdateCommand(DataConnection dataConnection, java.lang.String commandString)
          Crea un SQLCommand di update data una DataConnection e la CommandString per driver jdbc 1.0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyCommandCreator

public LegacyCommandCreator()
Method Detail

createSelectCommand

public SQLCommand createSelectCommand(DataConnection dataConnection,
                                      java.lang.String commandString,
                                      boolean scroll)
Crea un SQLCommand di select data una DataConnection e la CommandString per driver jdbc 1.0

Specified by:
createSelectCommand in interface CommandCreator
Returns:
un oggetto di tipo SQLCommand rapprsentante il comando di select contenuto nella command string

createInsertCommand

public SQLCommand createInsertCommand(DataConnection dataConnection,
                                      java.lang.String commandString)
Crea un SQLCommand di insert data una DataConnection e la CommandString per driver jdbc 1.0

Specified by:
createInsertCommand in interface CommandCreator
Returns:
un oggetto di tipo SQLCommand rapprsentante il comando di insert contenuto nella command string

createUpdateCommand

public SQLCommand createUpdateCommand(DataConnection dataConnection,
                                      java.lang.String commandString)
Crea un SQLCommand di update data una DataConnection e la CommandString per driver jdbc 1.0

Specified by:
createUpdateCommand in interface CommandCreator
Returns:
un oggetto di tipo SQLCommand rapprsentante il comando di update contenuto nella command string

createDeleteCommand

public SQLCommand createDeleteCommand(DataConnection dataConnection,
                                      java.lang.String commandString)
Crea un SQLCommand di delete data una DataConnection e la CommandString per driver jdbc 1.0

Specified by:
createDeleteCommand in interface CommandCreator
Returns:
un oggetto di tipo SQLCommand rapprsentante il comando di delete contenuto nella command string

createStoredProcedureCommand

public SQLCommand createStoredProcedureCommand(DataConnection dataConnection,
                                               java.lang.String commandString)
Crea un SQLCommand per l'esecuzione di una stored procedure data una DataConnection e la CommandString

Specified by:
createStoredProcedureCommand in interface CommandCreator
Returns:
un oggetto di tipo SQLCommand rapprsentante il comando di delete contenuto nella command string