|
|
|
@ -291,6 +291,10 @@ public class SmartInsertDBManipulationPane extends DBManipulationPane {
|
|
|
|
|
@Override |
|
|
|
|
public void checkValid() throws Exception { |
|
|
|
|
KeyColumnTableModel model = (KeyColumnTableModel) keyColumnValuesTable.getModel(); |
|
|
|
|
checkModelValid(model); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void checkModelValid(KeyColumnTableModel model) throws Exception { |
|
|
|
|
int cnt = model.getRowCount(); |
|
|
|
|
int groupLength = -1; |
|
|
|
|
for (int i = 0; i < cnt; i++) { |
|
|
|
@ -374,7 +378,8 @@ public class SmartInsertDBManipulationPane extends DBManipulationPane {
|
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public void checkValid() throws Exception { |
|
|
|
|
SmartInsertDBManipulationPane.this.checkValid(); |
|
|
|
|
KeyColumnTableModel model = (KeyColumnTableModel) table.getModel(); |
|
|
|
|
SmartInsertDBManipulationPane.this.checkModelValid(model); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private SelectionListener listener = new SelectionListener() { |
|
|
|
|