Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-322

ResultSet.update* methods aren't implemented

    XMLWordPrintable

Details

    • Sprint connector/j 2.1.0

    Description

      ResultSet.update* methods aren't implemented

      statement using ResultSet.CONCUR_UPDATABLE must be able to update record.
      exemple:

             Statement stmt = con.createStatement(
                                            ResultSet.TYPE_SCROLL_INSENSITIVE,
                                            ResultSet.CONCUR_UPDATABLE);
             ResultSet rs = stmt.executeQuery("SELECT age FROM TABLE2");
             // rs will be scrollable, will not show changes made by others,
             // and will be updatable
      	while(rs.next()){
      		//Retrieve by column name
      		int newAge = rs.getInt(1) + 5;
      		rs.updateDouble( 1 , newAge );
      		rs.updateRow();
      	}
      
      

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.