Skip to content

Commit

Permalink
Merge pull request #3121 from EnterpriseDB/docs/jdbc/rel-notes-correc…
Browse files Browse the repository at this point in the history
…tion

JDBC: rel notes correction
  • Loading branch information
drothery-edb authored Sep 6, 2022
2 parents a3650a1 + 84f59d1 commit 89f3e24
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ New features, enhancements, bug fixes, and other changes in the EDB JDBC Connect
| Upstream Merge | Merged with the upstream community driver version 42.5.0. See the community [JDBC documentation](https://jdbc.postgresql.org/documentation/changelog.html#version_42.5.0) for details. |
| Security Fix | CVE-2022-31197 - Fixes the SQL generated in PgResultSet.refresh() to escape column identifiers in order to prevent SQL injection. Previously, the column names for both key and data columns were copied as-is into the generated SQL. This allowed for a malicious table with column names that included a statment terminator to be parsed and executed as multiple separate commands. Also, this fix adds a new test class ResultSetRefreshTest to verify this change. |
| Change | Migrated build to Gradle. |
| Enhancement | Added new `getServerName` connection property. If the value for `changeServerName` is set to `true`, it returns a value as `PostgreSQL`. The default value is `false`. |
| Enhancement | Added new `changeServerName` connection property. If the value for `changeServerName` is set to true, the `getServerName()` call returns a value as `PostgreSQL`. The default value is `false`.
| Enhancement | Added new `forceBinaryTransfer` connection property. If the value is set to `true`, forces the transfer of all binary types from the PostgreSQL server to the JDBC driver in their binary form. The default value is `false`. |





Expand Down

0 comments on commit 89f3e24

Please sign in to comment.