Skip to content

Commit

Permalink
#751 Add aliases ApplicationName and applicationName for the processN…
Browse files Browse the repository at this point in the history
…ame connection property
  • Loading branch information
mrotteveel committed Jun 17, 2023
1 parent ec5803e commit 58b62d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/docs/asciidoc/release_notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> getTypeAliasList()` and `List<String> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public Stream<ConnectionProperty> 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"),
Expand Down

0 comments on commit 58b62d0

Please sign in to comment.