Commit Graph

2921 Commits

Author SHA1 Message Date
TommyLemon
2f890b875c
Merge pull request #417 from github291406933/master
fix: sql join缓存丢失而出现1+N查询问题
2022-07-14 21:02:39 +08:00
JarJar
9e99bad419
Merge branch 'Tencent:master' into master 2022-07-14 10:32:46 +08:00
huangcanjia
f5f7f3db78 fix: sql join缓存丢失而出现1+N查询问题
在处理app join时,连接上sql join的结果缓存

- 降childMap放入appJoinChildMap中,一起缓存
2022-07-14 10:31:48 +08:00
TommyLemon
3914cb6c4e
Update README.md 2022-07-12 18:57:55 +08:00
TommyLemon
f66b571ad0
Update README.md 2022-07-12 18:57:15 +08:00
TommyLemon
8415910a52 升级版本至 5.1.5 2022-07-12 03:10:36 +08:00
TommyLemon
0f836600f0 解决 @combine:"(a | b) & (c | d)" 这种任意条件组合情况下有时预编译值错位导致 SQL 报错;优化代码和注释 2022-07-12 02:46:13 +08:00
TommyLemon
813c2dcf40
Merge pull request #414 from Tencent/dependabot/maven/APIJSONORM/com.alibaba-fastjson-1.2.83
Bump fastjson from 1.2.79 to 1.2.83 in /APIJSONORM
2022-07-07 16:37:17 +08:00
TommyLemon
5bb7eecfca 解决刚刚改动 result.remove("@RAW@LIST") 逻辑后新增的 NPE bug 2022-07-07 06:27:20 +08:00
dependabot[bot]
7c2443dd91
Bump fastjson from 1.2.79 to 1.2.83 in /APIJSONORM
Bumps [fastjson](https://github.com/alibaba/fastjson) from 1.2.79 to 1.2.83.
- [Release notes](https://github.com/alibaba/fastjson/releases)
- [Commits](https://github.com/alibaba/fastjson/compare/1.2.79...1.2.83)

---
updated-dependencies:
- dependency-name: com.alibaba:fastjson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 21:53:20 +00:00
TommyLemon
5525eab38d 完善对 APP JOIN 同层和跨层的校验;完善对 APP JOIN 的 SQL 执行与缓存次数统计;解决同层 JOIN 新增的报错 bug;解决 APP JOIN 副表返回内部字段 @RAW@LIST;fastjson2 改为 1.2.79 2022-07-07 05:52:44 +08:00
TommyLemon
104db005fc
Merge pull request #413 from github291406933/master
feat: 支持跨层级app join
2022-07-06 21:16:03 +08:00
JarJar
f1430b20ab
Merge pull request #1 from github291406933/dev_join
feat: 支持跨层级app join
2022-07-06 19:51:18 +08:00
huangcanjia
4dfd9d4d4f feat: 支持跨层级app join
优化app join模式下,一对多join表查询时的1+N性能问题

- 支持客户端join字段,path的多层路径指定
- Join类增加count字段,以支持在生成副表sql时,按照指定count数量生成
- 处理App Join的查询结果时,将'一条条缓存'调整为'攒一起再缓存',防止错误替换
2022-07-06 18:51:20 +08:00
TommyLemon
0a764540fd
Update Document.md 2022-06-23 23:45:26 +08:00
TommyLemon
76c91a9557
Update --bug.md 2022-06-10 19:09:12 +08:00
TommyLemon
f4d63d1799
Update --bug.md 2022-06-10 19:08:23 +08:00
TommyLemon
88d895d0f0
Update --bug.md 2022-06-10 19:00:54 +08:00
TommyLemon
d95a1b90c8
Update --bug.md 2022-06-10 18:58:59 +08:00
TommyLemon
bd3dc264f2
Update --bug.md 2022-06-10 18:58:19 +08:00
TommyLemon
e2826242b8
Update --bug.md 2022-06-10 18:57:52 +08:00
TommyLemon
0600a8e934
Update --bug.md 2022-06-10 18:50:31 +08:00
TommyLemon
ed935c1c4a
Update README.md 2022-06-10 17:27:56 +08:00
TommyLemon
9fb6c885f0
Update README.md 2022-06-10 17:24:11 +08:00
TommyLemon
f8a3c6706b
Update CONTRIBUTING.md 2022-06-08 21:25:42 +08:00
TommyLemon
51f9429918
Update CONTRIBUTING.md 2022-06-08 21:24:40 +08:00
TommyLemon
6ab88d13d1
Update README.md 2022-06-08 21:16:21 +08:00
TommyLemon
1f0af2db4d
Merge pull request #403 from github291406933/master
fix: 修复多字段参与join时,没有命中缓存而出现的1+N查询性能问题
2022-06-06 15:15:51 +08:00
huangcanjia
3ed76c34a3 fix: 修复多字段参与join时,没有命中缓存而出现的1+N查询性能问题
在缓存副表数据到ChildMap时,反向遍历onList集合,避免除了idKey,userKey之外的字段在putWhere时,跟前端传参指定的顺序相反,导致没有命中缓存。

- 将onList反转

issue #402
2022-06-02 13:07:17 +08:00
TommyLemon
c041000aeb
Merge pull request #401 from NeoGitCrt1/fastjson2
Fastjson2
2022-05-29 22:31:50 +08:00
ysy
be00ec44a1 fix field order 2022-05-29 15:47:55 +08:00
ysy
641d940941 fix dead loop 2022-05-29 12:33:57 +08:00
ysy
89accdacdc fastjson up2 2.0.4 2022-05-29 11:20:48 +08:00
TommyLemon
8329421ae0
Merge pull request #394 from MentosL/bugfix
BugFix : Added support for LocalDateTime types
2022-05-13 19:24:32 +08:00
Montos
beac8231a6 增加对LocalDateTime类型支持
增加对LocalDateTime类型支持
2022-05-10 00:20:06 +08:00
TommyLemon
19706c6fa5
相关推荐新增 腾讯业务百万数据 6s 响应,APIJSON 性能优化背后的故事
https://my.oschina.net/tommylemon/blog/5375645
2022-05-08 01:25:55 +08:00
TommyLemon
be268dc5a0
Update README.md 2022-05-08 01:22:38 +08:00
TommyLemon
ffdc33229d
Update README.md 2022-05-07 22:47:53 +08:00
TommyLemon
9f724c1719
还原依赖 javax.activation,实测 JDK 11, 13 都需要
否则 APIJSONBoot DemoApplication 第 95 行报错 NoClassDefFoundError
static {
  Map<String, Pattern> COMPILE_MAP = AbstractVerifier.COMPILE_MAP;
...
}

Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/UnsupportedDataTypeException

https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoApplication.java#L95
2022-05-04 06:14:40 +08:00
TommyLemon
95432dde2c 升级版本号为 5.1.0;删除不再需要的依赖 javax.activation 2022-05-04 01:52:49 +08:00
TommyLemon
f442543f7a 解决预估容量判断 NOT 条件用错逻辑 key 2022-05-04 01:08:08 +08:00
TommyLemon
92c396ced2 请求参数校验:REFUSE 新增支持 !key 排除禁止字段,优化 MUST 和 REFUSE 处理性能 2022-05-02 05:04:33 +08:00
TommyLemon
0e2b645465 优化登录报错和远程函数执行报错的提示 2022-05-02 00:39:16 +08:00
TommyLemon
8df36e26d7 优化 SQL 执行缓存;优化主键泛型;部分常量改为可自定义静态变量;解决高并发下 id 冲突导致新增记录失败等 2022-05-02 00:32:51 +08:00
TommyLemon
5d402171b0 解决 JOIN 副表返回空对象 2022-05-01 17:10:25 +08:00
TommyLemon
b92fab305d
Update --bug.md 2022-05-01 16:55:47 +08:00
TommyLemon
0fb42569cf 优化 AbstractSQLExecutor 关于耗时统计的代码 2022-05-01 16:34:06 +08:00
TommyLemon
5b7d54a492 优化代码 2022-05-01 16:24:44 +08:00
TommyLemon
b9da3fbe33
Merge pull request #390 from SingleDogL/patch-2
修复oracle分页获取时无法获取除第一页以外的数据
2022-04-30 22:11:45 +08:00
SingleDogL
4f40cbd561
Update AbstractSQLConfig.java 2022-04-29 09:23:39 +08:00