title: Doctrine and LIKE query
body: <p>I have entity for Doctrine:</p>
  
  <pre><code>&lt;?php
  /**
   * @Entity
   * @Table(name="orders")
   */
  class Orders {
      /** @Id @Column(name="OID",type="integer") @GeneratedValue */
      private $id;
      /** @Column(name="Product",type="string")*/
          private $product;
      /** @Column(name="RegCode",type="string")*/
          private $reg_code;
      /** @Column(name="OrderEmail",type="string")*/
      private $email;
  }
  </code></pre>
  
  <p>I need make query like this: </p>
  
  <pre><code>select * from `orders` where `OrderEmail`='some@mail.com' and `Product` LIKE 'My Products%'
  </code></pre>
  
  <p>I try handle query without like:</p>
  
  <pre><code>$em-&gt;getRepository("Orders")-&gt;findByEmailAndProduct($uname,$product);
  </code></pre>
  
  <p>But it make error. Why?
  Can I do this query without DQL? I want make this query use magic methods <strong>findBy**</strong></p>