Most likely the combination of TYPE_SCROLL_INSENSITIVE
is not compatible with CONCUR_UPDATABLE
. According to the JDBC specification, a driver is free to downgrade a ResultSet
if it can't service the requested scrollability and/or concurrency mode. See also: http://jtds.sourceforge.net/resultSets.html :
TYPE_SCROLL_INSENSITIVE | Static cursor | Heavy | Only works with read-only concurrency (updatable is downgraded). SQL Server generates a temporary table, so changes made by others are not visible. Scrollable.
Which confirms that the driver will downgrade when specifying CONCUR_UPDATABLE
.
You might want to consider using TYPE_SCROLL_SENSITIVE
or simply not combine scrollability with updatability.