public interface SqlStringFilter
context.setSqlStringFilter(new SqlStringFilter() {
public String filterSelectCB(BehaviorCommandMeta meta, String executedSql) {
// You can filter your SQL string here.
}
...
});
This filter does not have all SQL call-back point.
For example, you cannot filter SQL of sequence next value.| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
filterEntityUpdate(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of entity update, insert and delete.
|
String |
filterOutsideSql(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of outside-SQL.
|
String |
filterProcedure(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of procedure call.
|
String |
filterQueryUpdate(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of query update, insert and delete (by condition-bean).
|
String |
filterSelectCB(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of select by condition-bean.
|
String filterSelectCB(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)String filterEntityUpdate(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)String filterQueryUpdate(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)String filterOutsideSql(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)String filterProcedure(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)Copyright © 2014–2015 The DBFlute Project. All rights reserved.