[CONJ-316] Wrong Exception thrown for ScrollType TYPE_SCROLL_INSENSITIVE: Invalid operation for result set type TYPE_FORWARD_ONLY Created: 2016-06-25 Updated: 2016-06-30 Resolved: 2016-06-30 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Failover |
| Affects Version/s: | 1.4.6 |
| Fix Version/s: | 1.5.0-RC |
| Type: | Bug | Priority: | Critical |
| Reporter: | Leonard Lin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Oracle Java 1.8u92 |
||
| Description |
|
I wrote a Unit-Test to demonstrate exception
This test will fail. Reading through the code I found that mariaDb driver ignores the scroll-type, since it's always "SCROLL_INSENSITIVE". a unit-test and "workaround" hack has been written and will create a pull-request for discussion. |
| Comments |
| Comment by Diego Dupin [ 2016-06-30 ] |
|
You're right. |