I posted a similar ? once before. My answer was the available boolean comparisons are based on the type of the variables being compared. The disallow greater than or less than operations on String types. I have not tried the like operator
EJBQL does not allow arguments for LIKE queries, you will have to use JBossQL to achieve this.