java.sql.SQLException: ResultSet not updatable

Oracle Community | 807543 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MySQL

    Oracle Community | 1 decade ago | 807543
    java.sql.SQLException: ResultSet not updatable

    Root Cause Analysis

    1. java.sql.SQLException

      ResultSet not updatable

      at com.mysql.jdbc.jdbc2.ResultSet.generateStatements()
    2. com.mysql.jdbc
      ResultSet.updateString
      1. com.mysql.jdbc.jdbc2.ResultSet.generateStatements(Unknown Source)
      2. com.mysql.jdbc.jdbc2.ResultSet.syncUpdate(Unknown Source)
      3. com.mysql.jdbc.jdbc2.ResultSet.updateString(Unknown Source)
      3 frames
    3. Unknown
      TrackTableModel.setValueAt
      1. TrackTableModel.setValueAt(MyTrackTableModel.java:100)
      1 frame
    4. Java RT
      JTable.editingStopped
      1. javax.swing.JTable.setValueAt(JTable.java:1782)
      2. javax.swing.JTable.editingStopped(JTable.java:3118)
      2 frames
    5. Unknown
      TrackValueEditor.stopCellEditing
      1. TrackValueEditor.fireEditingStopped(TrackValueEditor.java:106)
      2. TrackValueEditor.stopCellEditing(MyTrackValueEditor.java:85)
      2 frames
    6. Java RT
      EventDispatchThread.run
      1. javax.swing.JTable.editCellAt(JTable.java:2488)
      2. javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.adjustFocusAndSelection(BasicTableUI.java:510)
      3. javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mousePressed(BasicTableUI.java:494)
      4. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:218)
      5. java.awt.Component.processMouseEvent(Component.java:5019)
      6. java.awt.Component.processEvent(Component.java:4819)
      7. java.awt.Container.processEvent(Container.java:1525)
      8. java.awt.Component.dispatchEventImpl(Component.java:3527)
      9. java.awt.Container.dispatchEventImpl(Container.java:1582)
      10. java.awt.Component.dispatchEvent(Component.java:3368)
      11. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
      12. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3071)
      13. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
      14. java.awt.Container.dispatchEventImpl(Container.java:1568)
      15. java.awt.Window.dispatchEventImpl(Window.java:1586)
      16. java.awt.Component.dispatchEvent(Component.java:3368)
      17. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      18. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
      19. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      20. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      22. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
      22 frames