java.sql2 Minor oversight: Missing TIMESTAMP type
Douglas Surber
douglas.surber at oracle.com
Wed Oct 4 15:15:14 UTC 2017
Lukas,
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.
Douglas
> On Oct 4, 2017, at 3:01 AM, Lukas Eder <lukas.eder at gmail.com> wrote:
>
> Hello,
>
> I'm referring to this version:
> http://hg.openjdk.java.net/jdk10/sandbox/jdk/file/a31057bda7c5/src/java.sql/share/classes/java/sql2
>
> 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