[CONJ-81] MySQLDataSource implementation discards properties Created: 2014-01-09 Updated: 2014-10-21 Resolved: 2014-10-21 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | None |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | 1.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christian Bourque | Assignee: | Massimo Siani (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
N/A |
||
| Issue Links: |
|
||||||||
| Description |
|
The implementation of method getConnection(username, password) completely discards the properties by passing a new empty properties object instead of using the one set externally by the connection pool (info). We use Oracle UCP as our connection pool and we set connection properties like this: PoolDataSource pds = oracle.ucp.jdbc.PoolDataSourceFactory.getPoolDataSource(); Properties p = new Properties(); Connection c = pds.getConnection(); Here the property 'useFractionalSeconds' is never set on the new connection since it's discarded by the datasource implementation... |