Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oracle下查询分页问题 #162

Closed
dream-t-mac opened this issue Nov 27, 2020 · 7 comments
Closed

oracle下查询分页问题 #162

dream-t-mac opened this issue Nov 27, 2020 · 7 comments

Comments

@dream-t-mac
Copy link

dream-t-mac commented Nov 27, 2020

环境信息

  • 系统: Windows 10
  • JDK: 1.8.0_17
  • 数据库: Oracle 11.2.0.4.0
  • APIJSON: 4.2.5

问题描述

APIJSONDemo
连接Oracle数据源,启动报错

错误信息
image

分析可能原因:oracle分页语法问题
image

image

@kxlv2000
Copy link
Contributor

您好,
请问问题解决了吗,可以允许我尝试修复此问题吗?

@TommyLemon
Copy link
Collaborator

您好,
请问问题解决了吗,可以允许我尝试修复此问题吗?

还没有,可以的哦,非常感谢~
https://github.com/Tencent/APIJSON/blob/master/CONTRIBUTING.md#%E4%B8%BA%E4%BB%80%E4%B9%88%E4%B8%80%E5%AE%9A%E8%A6%81%E8%B4%A1%E7%8C%AE%E4%BB%A3%E7%A0%81

@chenpanpan0809
Copy link

您好,我想问一下这个问题解决吗,我现在也遇到这个问题了

@kxlv2000
Copy link
Contributor

kxlv2000 commented Mar 23, 2021 via email

@chenpanpan0809
Copy link

好的,谢谢了,希望这个问题能尽快解决。

@TommyLemon
Copy link
Collaborator

TommyLemon commented Apr 8, 2021

您好,暂时还没有完成修复,我们是 SUSTech 的计算机本科生,选择了多个包括此 issue 在内的 issue,作为我们本学期课程的实践课题。如果您有急需的话,我们可以尝试优先修复此问题,还请您理解,谢谢!

2021年3月23日 15:00,chenpanpan0809 @.***> 写道: 您好,我想问一下这个问题解决吗,我现在也遇到这个问题了 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#162 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYC7MN23ANROP3HVVS3W63TFA4CTANCNFSM4UEWIWAA.

确实很需要,非常欢迎和感谢修复问题~
这个应该是由于 Oracle 12 以下不支持 OFFSET FETCH 分页语法导致的,
得换成 ROW_NUMBER 加子查询解决,改动很大,优先级可以放低些

@TommyLemon
Copy link
Collaborator

TommyLemon commented Aug 10, 2022

非常感谢 @kxlv2000 解决了这个问题~
#223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants