为您找到相关结果155,943个
mybatis-plus 扩展批量新增的实现_java_脚本之家
keyGenerator = TableInfoHelper.genKeyGenerator(getMethod(), tableInfo, builderAssistant); keyProperty = tableInfo.getKeyProperty(); keyColumn = tableInfo.getKeyColumn(); } } } String sql = String.format(sqlMethod.getSql(), batchScript); SqlSource sqlSource = languageDriver.createSqlSource(configu...
www.jb51.net/article/2721...htm 2024-9-30
mybatis-plus的sql加载顺序源码解析_java_脚本之家
public void inject(MapperBuilderAssistant builderAssistant, Class<?> mapperClass, Class<?> modelClass, TableInfo tableInfo) { this.configuration = builderAssistant.getConfiguration(); this.builderAssistant = builderAssistant; this.languageDriver = configuration.getDefaultScriptingLanguageInstance(); /* 注入...
www.jb51.net/program/296450v...htm 2024-10-9
mybatis中mapper代理的生成过程全面分析_java_脚本之家
本文是分析mapper代理的生成过程,所以加载xml的具体细节就不详细分析了,这里注意的是读取xml文件中namespace标签的值,并将值设置到builderAssistant对象中现在回过头来看一下加载class文件的过程。进到bindMapperForNamespace()方法中去 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ...
www.jb51.net/program/298635g...htm 2024-10-10