Skip to content
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

[jdbc] Select the proper schema when retrieving the item tables #11023

Merged
merged 1 commit into from
Jul 24, 2021

Conversation

nimric
Copy link
Contributor

@nimric nimric commented Jul 18, 2021

Signed-off-by: Riccardo Nimser-Joseph [email protected]

[jdbc] Select the proper schema when retrieving the item tables from PostgreSQL

JDBC persistence does not specify a (configurable) schema when the tables are created. Therefore, a schema other than 'public' may be used if the 'search_path' is configured in PostgreSQL. In this case the correct schema must be determined when the item tables are retrieved.

Fixes #8889

@nimric nimric requested a review from a team as a code owner July 18, 2021 09:44
@nimric nimric force-pushed the 8889-select_proper_schema branch from ccc5d03 to 151f615 Compare July 18, 2021 11:26
@nimric nimric force-pushed the 8889-select_proper_schema branch from 151f615 to c62fe37 Compare July 19, 2021 12:00
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kaikreuzer kaikreuzer merged commit cf6729a into openhab:main Jul 24, 2021
@kaikreuzer kaikreuzer added the enhancement An enhancement or new feature for an existing add-on label Jul 24, 2021
@kaikreuzer kaikreuzer added this to the 3.2 milestone Jul 24, 2021
@nimric nimric deleted the 8889-select_proper_schema branch July 24, 2021 19:56
dw-8 pushed a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 added a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 pushed a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 added a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 pushed a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 added a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 pushed a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
dw-8 added a commit to dw-8/openhab-addons that referenced this pull request Jul 25, 2021
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this pull request Oct 26, 2021
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
dschoepel pushed a commit to dschoepel/openhab-addons that referenced this pull request Nov 9, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[jdbc] JdbcPostgresqlDAO uses wrong schema to retrieve all item tables
2 participants