title: IBM MobileFirst 7.0 - Adapter Invocation
body: <p>Can we send multiple records at a time to Adapter and also can we send object to Adapter.
  here is the sample Adapter code:</p>
  
  <pre><code>var addStatement = WL.Server.createSQLStatement("insert into MSS (ENO,ENAME,ESALARY) values (?, ?, ?)");
  function addSQLAdapterDemo(param0,param1,param2) {
  return WL.Server.invokeSQLStatement({
      preparedStatement : addStatement,
      parameters : [param0,param1,param2]
  });
  </code></pre>
  
  <p>}</p>
  
  <p>Main.js in Client side javascript:</p>
  
  <pre><code>$('button#InsertData').on('click', function () {
    var invocationData = {
    adapter : 'SQLAdapterDemo', 
    procedure : 'addSQLAdapterDemo', 
    parameters : [5,'Raj',25000][6,'karan',25000],
    compressResponse: true
  };
  WL.Client.invokeProcedure(invocationData);
  </code></pre>
  
  <p>In the Above code I pass three params can we send data like this. And Aslo Can We send object to Adapter.  the object is having those three params.</p>