Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

[jdbc] Fixed sqltype.table* options #5820

Merged
merged 2 commits into from
Mar 1, 2019
Merged

Conversation

skazi0
Copy link
Contributor

@skazi0 skazi0 commented Feb 25, 2019

Options sqltype.tablePrimaryKey and sqltype.tablePrimaryValue were not read
correctly. They were treated as yet another item type which didn't match their use
in the code.

Also added debug log of sql query similar to other functions.

Second commit is just a "copy/paste" bug fix.

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/wrong-time-zone-with-jdbc-persistence-and-postgres/52938/4

Options `sqltype.tablePrimaryKey` and `sqltype.tablePrimaryValue` were not read
correctly. They were treated as yet another item type which didn't match their use
in the code.

Also added debug log of sql query similar to other functions.
@skazi0 skazi0 changed the title Fix sqltype.table* options [jdbc] Fix sqltype.table* options Feb 25, 2019
Copy link
Contributor

@9037568 9037568 left a comment

Choose a reason for hiding this comment

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

Looks good, mostly. Just a couple tweaks I see.

Copy link
Contributor

@9037568 9037568 left a comment

Choose a reason for hiding this comment

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

LGTM. @lewie do you have any input?

@lewie
Copy link
Contributor

lewie commented Feb 28, 2019

LGTM too. Thank You @skazi0!
Thanks.

@9037568
Copy link
Contributor

9037568 commented Mar 1, 2019

Thanks, @skazi0 !

@9037568 9037568 merged commit 7734a06 into openhab:master Mar 1, 2019
@kaikreuzer kaikreuzer changed the title [jdbc] Fix sqltype.table* options [jdbc] Fixed sqltype.table* options Dec 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants