[CONJ-446] ResultSet.getBigDecimal throwns NumberFormatException when value is an empty string Created: 2017-03-17 Updated: 2017-03-30 Resolved: 2017-03-30 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | JDBC 4.2 compatibility |
| Affects Version/s: | 1.5.8 |
| Fix Version/s: | 2.0.0-RC, 1.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Gabor Csertan | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Manjaro Linux |
||
| Description |
|
When the result set contains an empty string and I try to retrieve it as a BigDecimal with getBigDecimal, a NumberFormatException is thrown. MySQL connector in this case simply returns null. |