RFR: 8369432: Add Support for JDBC 4.5 MR [v3]

Roger Riggs rriggs at openjdk.org
Wed Oct 15 18:47:31 UTC 2025


On Mon, 13 Oct 2025 17:12:00 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> src/java.sql/share/classes/java/sql/Connection.java line 1816:
>> 
>>> 1814:      * @param alwaysQuote indicates if a simple SQL identifier should be
>>> 1815:      * returned as a quoted identifier
>>> 1816:      * @return A simple SQL identifier or a delimited identifier
>> 
>> Is there a difference between a "quoted identifier" and a "delimited identifier"?
>> The terminology should be consistent (with the jdbc spec).
>
> A quoted identifier is a form of a delimited identifier and are often interchangeable(depending on the database).  The intent here was to be specific as some databases did not support  quotes

It would be in improvement to consistently use "delimited" identifier within the javadoc of this method.
See the "alwaysQuote" @param tag.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27693#discussion_r2433607462


More information about the core-libs-dev mailing list