java.sql2 Minor oversight: Missing TIMESTAMP type

Douglas Surber douglas.surber at
Wed Oct 4 15:15:14 UTC 2017


You are correct; that is an oversight.

It’s an open question as to whether the new API will reference java.sql.SQLType and java.sql.JDBCType or duplicate them. So far the new ones are identical to the java.sql ones so reuse is possible. As the new API is independent of the old one there is some argument in favor of duplication. But since the duplicates would (so far) be identical there is a good argument for reuse. I would lean toward reuse but the current draft duplicates to emphasize the independence.


> On Oct 4, 2017, at 3:01 AM, Lukas Eder <lukas.eder at> wrote:
> Hello,
> I'm referring to this version:
> Which I believe to be the latest version on that branch. The JdbcType enum
> is missing a TIMESTAMP (without time zone) type as it seems.
> Hope this helps,
> Lukas

More information about the jdbc-spec-discuss mailing list