public class TransactionCommand extends Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens| 构造器和说明 |
|---|
TransactionCommand(SessionLocal session,
int type) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
boolean |
isCacheable() |
boolean |
isTransactional()
Check if this command is transactional.
|
boolean |
needRecompile()
Check if the statement needs to be re-compiled.
|
ResultInterface |
queryMeta()
Get an empty result set containing the meta data.
|
void |
setSavepointName(String name) |
void |
setTransactionName(String string) |
long |
update()
Execute the statement.
|
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isQuery, isReadOnly, isWithParamValues, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toStringpublic TransactionCommand(SessionLocal session, int type)
public void setSavepointName(String name)
public long update()
Preparedpublic boolean isTransactional()
PreparedisTransactional 在类中 Preparedpublic boolean needRecompile()
PreparedneedRecompile 在类中 Preparedpublic void setTransactionName(String string)
public ResultInterface queryMeta()
Preparedpublic int getType()
Preparedpublic boolean isCacheable()
isCacheable 在类中 PreparedCopyright © 2022. All rights reserved.