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.
| 修飾子とタイプ | メソッドと説明 |
|---|---|
default String |
filterEntityUpdate(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of entity update, insert and delete.
|
default String |
filterOutsideSql(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of outside-SQL.
|
default String |
filterProcedure(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of procedure call.
|
default String |
filterQueryUpdate(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of query update, insert and delete (by condition-bean).
|
default String |
filterSelectCB(BehaviorCommandMeta meta,
String executedSql)
Filter the executed SQL of select by condition-bean.
|
default boolean |
inheritsExistingFilter()
Does it inherit the existing filter?
|
default String filterSelectCB(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)default String filterEntityUpdate(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)default String filterQueryUpdate(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)default String filterOutsideSql(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)default String filterProcedure(BehaviorCommandMeta meta, String executedSql)
meta - The meta information of the behavior command. (NotNull)executedSql - The string of actually-executed SQL. (NotNull)default boolean inheritsExistingFilter()
Copyright © 2014–2021 The DBFlute Project. All rights reserved.