Some
JDBC drivers have certain limitations regarding scroll sensitivity (and might even introduce some performance penalties for this type of cursors). As an example, you can see what
Oracle's documentation says about its JDBC driver implementation.
If you post details regarding your database and JDBC driver versions, someone might provide you a better answer. However, I'd suggest not to use scroll sensitivity and look for another solution that would not depend on it.