title: Looking for spring data jpa query for findall excluding some names from a column
body: <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>list_Type_code(PK)</th>
  <th>ListTypeName</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>CONTRACT</td>
  <td>cpn</td>
  </tr>
  <tr>
  <td>CPN</td>
  <td>formul</td>
  </tr>
  <tr>
  <td>PRP</td>
  <td></td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>It's a get all endpoint.I need a query to retrieve all data excluding certain names like CPN from column listtypecode.</p>
  <p>Finally,It worked this way:
  Page findAllByListTypeCodeNotIn(Collection listTypeCodeToExclude, Pageable pageable);</p>