perf: optimize JdbcDataSource#getConnection() by olavloite · Pull Request #2371 · googleapis/java-spanner-jdbc

@olavloite

The `JdbcDataSource#getConnection()` method repeatedly executed a number of steps
that were not necessary for each new connection. This has now been optimized, so
they are only executed once, as long as the properties of the DataSource do not
change.

@olavloite requested review from a team

January 23, 2026 15:31

sakthivelmanii