Creating an implementation of JPQL LIKE for use inside Java.