-
Notifications
You must be signed in to change notification settings - Fork 695
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
exec(String) throws SQLException: ResultSet already requested #414
Comments
The one thing that comes in mind is that you share transaction between threads and access connection concurrently. Or maybe you run SQLite in single-thread mode (https://www.sqlite.org/threadsafe.html) ? Does the same exception happen on PSQL? |
I don't know how to check SQLite threading mode, but I set |
@jeiea , could you provide a reproducible sample for that issue? |
exposed-sqlite.zip |
Thank you, your sample helps a lot. Fixed in a master branch. |
I am seeing the same issue in postgres 9.6. |
@riyadparvez , on the latest Exposed version? |
Yes I am still seeing this exception version 0.12.2. Here's the full stack-trace
|
I wrote the following code and was stuck in
exec(query)
. The backend was sqlite.The above code throws the following exception.
And followings are stacktraces of each call to
getResultSet
.Did I have any mistake on executing raw SQL?
The text was updated successfully, but these errors were encountered: