2 Replies Latest reply on Jul 14, 2015 7:07 PM by Anil Nair

    setting payload using Prepared statement

    Anil Nair Newbie

      Hi All,

      I using teiid client to connect and I am passing payload while using statements as shown below

      Statement statement = connection.createStatement();
      TeiidStatement tStatement=(TeiidStatement) statement.unwrap(TeiidStatement.class);
       //Passing the input values for the sp to be executed 
      ResultSet rs = tStatement.executeQuery(sql);


      Now I would like to pass the payload while using  PreparedStatement

      I tried TeiidPreparedStatement but it does not have setPayload method.