[CONJ-105] getConnection(String, String) ignores defined properties Created: 2014-08-12 Updated: 2014-09-10 Resolved: 2014-09-10 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | None |
| Affects Version/s: | 1.1.7 |
| Fix Version/s: | 1.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andy Shulman | Assignee: | Massimo Siani (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
If I call MySQLDataSource#getConnection(String username, String password), it returns MySQLConnection.newConnection(new MySQLProtocol(url, username, password, new Properties())); If I have previously passed in properties via MySQLDataSource#setProperties(String properties), those properties are improperly ignored. The return statement above should use "info" instead of "new Properties()". |
| Comments |
| Comment by Massimo Siani (Inactive) [ 2014-08-29 ] |
|
Duplicate of |
| Comment by Andy Shulman [ 2014-08-29 ] |
|
I've marked it as a duplicate, sorry about that! |