doctrine/doctrine2 — pull request #791 by mnapoli (2013-09-16 13:00:30+00:00)
Title: Implemented "contains" operator for Criteria expressions

Criteria expressions support the contains operator, and it is implemented for the ArrayCollection. However, it wasn't implemented in the QueryExpressionVisitor, the ORM implementation.

This is the implementation and the test.

The only thing I'm wondering: is the `%` wildcard valid for all supported RDBMS for the `LIKE` operator? After a quick search, it seems like so, but you guys probably know for sure.

FYI it seems that someone created an issue for this, but it was closed: [DDC-2394](http://www.doctrine-project.org/jira/browse/DDC-2394)