| 程序包 | 说明 |
|---|---|
| org.noear.wood |
| 限定符和类型 | 字段和说明 |
|---|---|
Command |
DbContext.lastCommand
已过时。
|
| 限定符和类型 | 字段和说明 |
|---|---|
Act1<Command> |
Command.onExecuteAft |
| 限定符和类型 | 方法和说明 |
|---|---|
Command |
DbTableQueryBase.deleteAsCmd()
删除编译并返回命令
|
protected Command |
DbStoredProcedure.getCommand() |
protected Command |
DbQuery.getCommand() |
protected abstract Command |
DbAccess.getCommand() |
protected Command |
DbQueryProcedure.getCommand() |
Command |
DbTableQuery.insertAsCmd() |
Command |
DbTableQueryBase.insertAsCmd(IDataItem data)
插入编译并获取命令
|
Command |
DbTableQueryBase.selectAsCmd(String columns) |
Command |
DbTableQuery.updateAsCmd() |
Command |
DbTableQueryBase.updateAsCmd(IDataItem data)
更新编译并返回命令
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
DbQueryProcedure.build(Command cmd,
String tml) |
protected void |
DbAccess.runCommandBuiltEvent(Command cmd) |
protected static void |
WoodConfig.runCommandBuiltEvent(Command cmd) |
protected static void |
WoodConfig.runExceptionEvent(Command cmd,
Throwable ex) |
protected static void |
WoodConfig.runExecuteAftEvent(Command cmd) |
protected static boolean |
WoodConfig.runExecuteBefEvent(Command cmd) |
protected static void |
WoodConfig.runExecuteStmEvent(Command cmd,
Statement stm) |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
DbAccess.onCommandBuilt(Act1<Command> expr) |
static void |
WoodConfig.onCommandBuilt(Act1<Command> listener)
命令构建完成时
|
static void |
WoodConfig.onException(Act2<Command,Throwable> listener)
出现异常时
|
static void |
WoodConfig.onExecuteAft(Act1<Command> listener)
执行之后
|
static void |
WoodConfig.onExecuteBef(Fun1<Boolean,Command> listener)
执行之前
|
static void |
WoodConfig.onExecuteStm(Act2<Command,Statement> listener)
执行之中
|
static void |
WoodConfig.onLog(Act1<Command> listener)
可以记日志时
|
Copyright © 2023. All rights reserved.