You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reuse of named prepared query within transaction causes error #36
To fix the error, remove the lines comment as 1 and 2 i.e. remove the surrounding transaction, and all will be fine. Also you can change the loop to go through only once, or remove the query name, to fix the bug.
This is a fairly typical idiom, where you open a transaction so that you can pipeline several INSERT's into it. Having the INSERT statement prepared helps tremendously with this sort of situation.
Activity
brianc commentedon Jul 13, 2011
awesome bug report. fixed & released new version.
p.s. in the future feel free to fork & write a failing test & submit pull request.
Updated readme examples to es6 (#36)
Merge pull request #36 from djmitche/format-docs
Update java/spring/README.md: broken link (brianc#36)