-
Notifications
You must be signed in to change notification settings - Fork 112
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
limit is not support in oracle #2177
Comments
Hi, @gflp123 I will check your query with my mates and will reply soon. Thanks. |
@gflp123 Let me know if you have any questions. |
oracle-connection-1.0.0-7.3.0.zip Thanks reply,The bug is not solve. http://localhost:8180/api/preparationdatasets/cb18af76-8b37-4ef3-b205-8211e995b835 Oracle version 11g |
@gflp123 |
@gflp123 @ufoscw @alchan-lee Yes. It's a bug. I'll fix it as soon as possible. |
Describe the bug
DB connection with oracle,But execute dataset collect error. For detail
ORA-00933: SQL command not properly ended
limit is not support in oracle
String pattern = ".limit\p{Space}+[0-9]+\p{Space}$";
Pattern p = Pattern.compile(pattern);
Matcher m = p.matcher(queryStmt.toLowerCase());
if(true==m.matches()) {
sql = queryStmt;
} else {
sql = queryStmt + " LIMIT " + size;
}
} else {
sql = "SELECT * FROM " + tblName + " LIMIT " + size;
}
Desktop (please complete the following information):
OS: [linux]
Browser [chrome]
Version [3.2.3]
Additional context
The text was updated successfully, but these errors were encountered: