I cannot seem to be able to declare the following as an instance variable.
public Statement stmt = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
If declared inside a method/test method then it works fine.
"Default constructor cannot handle exception type SQLException thrown by implicit super constructor. Must define an explicit constructor" is the error thrown, I've also tried declaring it in another class and retrieving it from there.
Any help appreciated.