|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.das.rdb.impl.BaseCommandImpl
org.apache.tuscany.das.rdb.impl.CommandImpl
org.apache.tuscany.das.rdb.impl.WriteCommandImpl
org.apache.tuscany.das.rdb.impl.InsertCommandImpl
public class InsertCommandImpl
Field Summary |
---|
Fields inherited from class org.apache.tuscany.das.rdb.impl.CommandImpl |
---|
parameters, resultSetShape, statement |
Fields inherited from class org.apache.tuscany.das.rdb.impl.BaseCommandImpl |
---|
configWrapper |
Constructor Summary | |
---|---|
InsertCommandImpl(Command command,
java.lang.String[] generatedKeys)
|
|
InsertCommandImpl(Create create)
|
|
InsertCommandImpl(java.lang.String sqlString,
java.lang.String[] generatedKeys)
|
Method Summary | |
---|---|
void |
execute()
Performs the function defined by the command |
int |
getGeneratedKey()
Returns the value of the database-generated key. |
Methods inherited from class org.apache.tuscany.das.rdb.impl.WriteCommandImpl |
---|
addParameters, addResultDescriptor, basicExecute, executeQuery, getMappingModel, getResultDescriptor, getResultDescriptors, printResultDescriptors, removeResultDescriptor, removeResultDescriptor, setResultDescriptors, toString |
Methods inherited from class org.apache.tuscany.das.rdb.impl.CommandImpl |
---|
addParameter, close, getConnection, getParameter, getParameter, getParameters, setConnection, setParameter, setParameter |
Methods inherited from class org.apache.tuscany.das.rdb.impl.BaseCommandImpl |
---|
setConnection, setConnection, setConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InsertCommandImpl(Command command, java.lang.String[] generatedKeys)
public InsertCommandImpl(java.lang.String sqlString, java.lang.String[] generatedKeys)
public InsertCommandImpl(Create create)
Method Detail |
---|
public void execute()
Command
execute
in interface Command
execute
in class WriteCommandImpl
public int getGeneratedKey()
Command
getGeneratedKey
in interface Command
getGeneratedKey
in class WriteCommandImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |