Skip to content

Connection of unshared worksheet created by utPLSQL extension stays open after closing worksheet #47

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

Closed
PhilippSalvisberg opened this issue Oct 28, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@PhilippSalvisberg
Copy link
Member

If in the preferences "Open an unshared worksheet?" is checked, then a unshared worksheet is opened for every "Run utPLSQL test" call. So far so good.

When this unshared worksheet is closed, the connection stays open in the background. Even "Disconnect" is issued from Connections navigator tree on various levels.

@PhilippSalvisberg PhilippSalvisberg added this to the v0.6.4 milestone Oct 28, 2018
@PhilippSalvisberg PhilippSalvisberg self-assigned this Oct 28, 2018
@PhilippSalvisberg
Copy link
Member Author

Using a temporary connection instead of a private connection seems to solve the problem. However, temporary Connections are a newer concept. They have been introduced in SQL Developer 17.4.0.

Fixing this issue by breaking compatibility to SQLDev versions < 17.4.0 seems wrong.

Further investigation is required.

@PhilippSalvisberg
Copy link
Member Author

Looks like the behavior of private connections changed in SQLDev 17.4.0. Solution is to use private connections in older SQLDev versions and temporary connenctions in newer SQLDev versions. Newer = 17.4.0 and higher.

PhilippSalvisberg added a commit that referenced this issue Oct 28, 2018
Fixes issue #47 - Connections of unshared worksheets are not closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant