|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.dbaccess.sql.command.std.DefaultCommandCreator
public class DefaultCommandCreator
Questa Classe è una factory concreta di CommandCreator per la creazione di oggetti SQLCommand che fanno uso delle caratteristiche di jdbc 2.0 per l'esecuzione
Constructor Summary | |
---|---|
DefaultCommandCreator()
|
Method Summary | |
---|---|
SQLCommand |
createDeleteCommand(DataConnection dataConnection,
java.lang.String commandString)
Crea un SQLCommand di delete data una DataConnection e la CommandString per driver jdbc 2.0 |
SQLCommand |
createInsertCommand(DataConnection dataConnection,
java.lang.String commandString)
Crea un SQLCommand di insert data una DataConnection e la CommandString per driver jdbc 2.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 2.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 2.0 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCommandCreator()
Method Detail |
---|
public SQLCommand createSelectCommand(DataConnection dataConnection, java.lang.String commandString, boolean scroll)
createSelectCommand
in interface CommandCreator
DataConnection
- dataConnection - la connessione al dbString
- commandString - La stringa contenente il comando sql
public SQLCommand createInsertCommand(DataConnection dataConnection, java.lang.String commandString)
createInsertCommand
in interface CommandCreator
DataConnection
- dataConnection - la connessione al dbString
- commandString - La stringa contenente il comando sql
public SQLCommand createUpdateCommand(DataConnection dataConnection, java.lang.String commandString)
createUpdateCommand
in interface CommandCreator
DataConnection
- dataConnection - la connessione al dbString
- commandString - La stringa contenente il comando sql
public SQLCommand createDeleteCommand(DataConnection dataConnection, java.lang.String commandString)
createDeleteCommand
in interface CommandCreator
DataConnection
- dataConnection - la connessione al dbString
- commandString - La stringa contenente il comando sql
public SQLCommand createStoredProcedureCommand(DataConnection dataConnection, java.lang.String commandString)
createStoredProcedureCommand
in interface CommandCreator
DataConnection
- dataConnection - la connessione al dbString
- commandString - La stringa contenente il comando sql
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |