title: Hibernate sql grammar exception when query has too long insert parameter
body: <p>have a method in which i try to do update operation;</p>
  
  <pre><code>public boolean formVeriGuncelleSil(String sql) throws VeritabaniException {
          try {
              Session session = getSessionFactory().getCurrentSession();
              SQLQuery query = session.createSQLQuery(sql);
              query.executeUpdate();
              return true;
          } catch (RuntimeException e) {
              throw new VeritabaniException(e, VERIGUNCELLEMEEXCEPTION, "FID_01_02_01");
          }
      }
  </code></pre>
  
  <p><strong>The sql string</strong> </p>
  
  <pre><code>UPDATE K1FORM_LISTGRID3 SET TEXTAREA4='X', TEXTT5='ANAFORM',ANATABLO='1', OLUSTURAN_KULLANICI='184' WHERE ID=1
  </code></pre>
  
  <p>if X is very long string, i have this exception; </p>
  
  <pre><code>org.hibernate.exception.SQLGrammarException: could not execute native bulk manipulation query
  </code></pre>
  
  <p>if X is normal string there is no exception.</p>
  
  <p>The exception arise from X string, if X is too long. </p>
  
  <p>I have searched for, but i don't find any solution. Pls help.</p>