Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Thu, 07 Nov 2024 15:26:19 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3433: Same timestamps, but different values when saved (executeUpdate) to database In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 2462522886 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3433 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3433#issuecomment-2462522886 Content-Type: text/plain; charset=utf-8 Can you simplify the example? Why do you use both `OffsetDateTime`, `Date`, and `Timestamp`? What is the expected behaviour? Frankly speaking, I am leaning towards "works as expected" as you use `timestamp` data type in the database, so it can't really store "instant". If you want storing instants, use `timestamp with time zone`.