Skip to content

Use TO_DATE/TO_TIMESTAMP for Oracle datetime comparisons#55

Merged
hymkor merged 2 commits into
masterfrom
push-yxqlrmvmppqw
May 11, 2026
Merged

Use TO_DATE/TO_TIMESTAMP for Oracle datetime comparisons#55
hymkor merged 2 commits into
masterfrom
push-yxqlrmvmppqw

Conversation

@hymkor
Copy link
Copy Markdown
Owner

@hymkor hymkor commented May 11, 2026

Changes in this PR (English)

  • Oracle datetime values are now passed as strings and converted using TO_DATE/TO_TIMESTAMP to avoid timezone-related comparison issues in sijms/go-ora.
  • Unlike #49, this approach does not depend on timezone handling, so in theory it should work with both sijms/go-ora v2.8.22 and v2.9.0.

Changes in this PR (Japanese)

  • sijms/go-ora でのタイムゾーンに関する比較問題を回避するため、Oracle の日時値を文字列として引き渡し、TO_DATE/TO_TIMESTAMP を使ってコンバートするようにした。
  • #49 と違って、タイムゾーンに依存しない形にしたため、理論上 sijms/go-ora の 2.8.22 , 2.9.0 いずれでも動作するはず

References

@hymkor hymkor self-assigned this May 11, 2026
@hymkor hymkor merged commit 7df3f52 into master May 11, 2026
2 checks passed
@hymkor hymkor deleted the push-yxqlrmvmppqw branch May 11, 2026 12:31
hymkor added a commit that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant