From 58b62d0550e71b9571cf0f55072e34a6c305d895 Mon Sep 17 00:00:00 2001 From: Mark Rotteveel Date: Sat, 17 Jun 2023 11:00:16 +0200 Subject: [PATCH] #751 Add aliases ApplicationName and applicationName for the processName connection property --- src/docs/asciidoc/release_notes.adoc | 1 + .../props/internal/StandardConnectionPropertyDefiner.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/docs/asciidoc/release_notes.adoc b/src/docs/asciidoc/release_notes.adoc index 7d8f99605..b2aa5eb98 100644 --- a/src/docs/asciidoc/release_notes.adoc +++ b/src/docs/asciidoc/release_notes.adoc @@ -711,6 +711,7 @@ Previously almost all types returned `true` (including -- for example -- `BOOLEA * Optimized the query to retrieve extended field info for `ResultSetMetaData.getPrecision` to only retrieve columns of type `NUMERIC` or `DECIMAL` (https://github.com/FirebirdSQL/jaybird/issues/732[jaybird#732]) * Added methods `List getTypeAliasList()` and `List getSupportedProtocolList()` to `GDSFactoryPlugin`, and deprecated `String[] getTypeAliases()` and `String[] getSupportedProtocols()` for removal in Jaybird 7 or later * Fixed formatting of `isc_formatted_exception` to not repeat the original parameters of the exception (https://github.com/FirebirdSQL/jaybird/issues/749[jaybird#749]) +* Added aliases `ApplicationName` and `applicationName` for connection property `processName` (https://github.com/FirebirdSQL/jaybird/issues/751[jaybird#751]) [#removal-of-deprecated-classes-and-packages] === Removal of deprecated classes and packages diff --git a/src/main/org/firebirdsql/jaybird/props/internal/StandardConnectionPropertyDefiner.java b/src/main/org/firebirdsql/jaybird/props/internal/StandardConnectionPropertyDefiner.java index a7eae6416..fd87a77c7 100644 --- a/src/main/org/firebirdsql/jaybird/props/internal/StandardConnectionPropertyDefiner.java +++ b/src/main/org/firebirdsql/jaybird/props/internal/StandardConnectionPropertyDefiner.java @@ -62,7 +62,8 @@ public Stream defineProperties() { .dpbItem(isc_dpb_sql_role_name).spbItem(isc_spb_sql_role_name), builder(processId).type(INT).aliases("process_id", "isc_dpb_process_id") .dpbItem(isc_dpb_process_id).spbItem(isc_spb_process_id), - builder(processName).aliases("process_name", "isc_dpb_process_name") + builder(processName) + .aliases("process_name", "isc_dpb_process_name", "ApplicationName", "applicationName") .dpbItem(isc_dpb_process_name).spbItem(isc_spb_process_name), builder(socketBufferSize).type(INT).aliases("socket_buffer_size"), builder(soTimeout).type(INT).aliases("so_timeout"),