Josh Long showed us another very nice Spring tips for supporting multiple tenants with JDBC.
Spring provide the AbstractRoutingDataSource to support multiple JDBC connection based on tenant Id.
AbstractRoutingDataSource
Multiple JDBC data source github