Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I have two applications that access the same DB. Application One inserts data into a table commits and commits. Application Two sits in a loop and waits for the data to be available.

When I open a new connection and run a SELECT query in Application Two, it sees the data.

I would like to leave the connection open vs having to open each time. If I leave Application Two's connection open while Application One commits new data to the data base, even when I run a new query Application One will not see the new data UNLESS I close the connection and re open it. I am not sure how I can fix this as I do not want to keep re-opening and closing the connection due to some constraints of application I am developing.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #973 on March 12, 2021 23:36.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.