On Mon, 13 Oct 2025 17:12:00 GMT, Lance Andersen <[email protected]> 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

Reply via email to