nullDataSourceFactory接口EmbeddedInitException异常BaseColumnStore.URLParseException异常BaseColumnStore.URLParseException异常
See URLParseChecks.checkURLParse(boolean, String, Object...) for details.select为空则返回nullsql为空或不是SELECT语句不能生成count语句则返回nullProperties提供的参数创建DataSource实例DataSource管理接口DataSource实例DataSourceFactory接口TableManager实例InjectionAttackExceptionDataSourceConfig.databasePropertiesManagers.injectProperties(Map, String)Column没有定义table,且字段名为true/false(不区分大小写)则视为布尔常量input以quote开头和结尾返回true,否则返回falseTableManager)管理类StatementCache.visitor归一化处理后的SQL语句,
否则将解析异常JSQLParserException封装到RuntimeDaoException抛出Statement,
并通过visitor参数提供基于AST(抽象语法树)的遍历所有节点的能力。ParserSupport.SqlParserInfo对象,
否则将解析异常JSQLParserException封装到RuntimeDaoException抛出CCJSqlParserUtil.parseAST(String)和CCJSqlParserUtil.parse(String)实现SQL语句解析,
解析成功则返回解析后的ParserSupport.SqlParserInfo对象,
并通过visitor参数提供基于AST(抽象语法树)的遍历所有节点的能力。Connection.prepareStatement(String, int, int)创建预编译SQL语句PreparedStatement对象,
调用前执行StatementCache.normalize(String)方法对SQL语句进行归一化处理和安全检查Connection.prepareStatement(String, int)创建预编译SQL语句PreparedStatement对象,
调用前执行StatementCache.normalize(String)方法对SQL语句进行归一化处理和安全检查Connection.prepareStatement(String)创建预编译SQL语句PreparedStatement对象,
调用前执行StatementCache.normalize(String)方法对SQL语句进行归一化处理和安全检查true时跳过继续执行下一个容器false时抛出异常DataSourceFactory接口LoadingCache实现SQL语句解析格式化缓存,提高SQL语句分析的效率BaseTableManager实例代理实现接口 sqlCopyright © 2022. All Rights Reserved.