[CONJ-519] Updatable result-set possible NPE when same field is repeated. Created: 2017-08-30 Updated: 2017-08-30 Resolved: 2017-08-30 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | metadata, Other |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 15497 | ||
| Description |
|
When using an updatable resultset (using ResultSet.CONCUR_UPDATABLE), If query concern only one table AND having same field repeat multiple time, getting a value using resultset.getXXX() from one of those repeated field will result in a NPE. example :
resulting error is :
|
| Comments |
| Comment by Diego Dupin [ 2017-08-30 ] | |||||||||||||||
|
This is corrected with commits 1 . correction is on 2.1.1. SNAPSHOT available though maven :
|