-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
SQLServerException: Incorrect syntax near 'LIMIT' with traccar 5.4 #4958
Comments
When you provide logs, please use the standard default logging level. |
@tananaev So you want me to provide the logs again, but in default logging level? |
Yes. |
tananaev
changed the title
SQLException: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 'LIMIT' with traccar 5.4
SQLServerException: Incorrect syntax near 'LIMIT' with traccar 5.4
Oct 15, 2022
This should fix the issue. Let me know if it works. |
Thanks! I'll test it and send you feedback. Edit: We'll test next Friday. Just FYI. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
We use traccar in the dockerized version with a MS SQL server. We recently switched from version 5.2 to 5.4. After that switch, the Android traccar client reports a sending failure. We set the logging facility to
all
and the logs show an SQL syntax error (see below for an excerpt). We can verify that this issue has been introduced with version 5.4. Earlier versions work fine.To Reproduce
Steps to reproduce the behavior:
The issue is reproducible for us. However, I have no idea how to create a test case so you can reproduce it as well. But we are willing to provide any extra information you require to debug the issue and resolve it.
Expected behavior
Of course, there shouldn't be any SQL syntax error and the positional update should work.
Screenshots
I cannot provide a screenshot, but this is the log excerpt:
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: