I am trying to add a serial number in my table. Here is my method:
public void reArrangeTrID(){
String parti = name.getText().toUpperCase();
long trid =
As per javadoc
static final int TYPE_SCROLL_SENSITIVE
The constant indicating the type for a ResultSet object that is scrollable and generally sensitive to changes to the data that underlies the ResultSet.
What you are looking for might be:
static final int TYPE_SCROLL_INSENSITIVE
The constant indicating the type for a ResultSet object that is scrollable but generally not sensitive to changes to the data that underlies the ResultSet.