0 Replies Latest reply on Nov 20, 2006 5:24 AM by kalyan raja

    java.sql.SQLException: Unsupported feature

    kalyan raja Newbie

      Hi I am trying to execute the following code ..

      String activateQuery = "UPDATE TABLE_NAME SET FIELD_NAME=FIELD_VALUE WHERE CONDITION_FIELD_NAME = CONDITION_VALUE";
      preparedStatement = connection.prepareStatement(activateQuery);
      try{
      preparedStatement.addBatch("activateQuery");
      } catch(SQLException e){

      throw new Exception();
      }


      it is giving error like this

      java.sql.SQLException: Unsupported feature

      we are setting the parameters in another method for preparedStatement.
      I have some doubts like
      1) will jboss supports batch addition to prepared satetment?