title: How to search through array in Spring Boot CrudRepository
body: <p>Say, I have the following entity class:</p>
  
  <p><strong>Person.java</strong></p>
  
  <pre><code>@Entity
  public class Person {
    @Id
    private String name;
  
    private String[] cars;
  
    // Constructor, getters and setters
  }
  </code></pre>
  
  <p>And the repository:</p>
  
  <p><strong>PersonRepository.java</strong></p>
  
  <pre><code>public interface PersonRepository extends CrudRepository&lt;Person, String&gt; {
  
     // this is unclear!
     List&lt;Person&gt; getAllByCars...(String car)
  }
  </code></pre>
  
  <p>Is there a method that returns all persons, whose car array contains one given car (the String parameter above)?</p>
  
  <p>For me, it seems that all supported JPA keywords can only deal with single elements, but not with arrays.</p>
  
  <p>Thanks for help!</p>