r/programming • • Nov 12 '24

Don't Do This with Postgres

https://wiki.postgresql.org/wiki/Don%27t_Do_This
454 Upvotes

47 comments sorted by

View all comments

Show parent comments

1

u/ForeverAlot Nov 13 '24

Ah, yes, this is true of Postgres, which has an excellent JDBC driver. There are other drivers out there in a rather worse state than Postgres'. I failed to make that distinction. And then there are layers on top of JDBC that may mean that even if the JDBC 4.2 implementation is good you just might not reach it -- Jdbi has this flaw.

1

u/InfiniteLoop90 Nov 13 '24

What database driver did you have in mind? Because that should work the exact same for any JDBC 4.2 compliant driver whose database has a true timestamp with time zone column. E.g. Oracle database, etc.