JPOX fails when a query calls String.matches. This bug may be reproduced applying patch
JDO-159. The SQL generation of the following query is incorrect:
SELECT FROM org.apache.jdo.tck.pc.company.Person WHERE firstname.matches('*First')
The LIKE clause of the generated SQL statement contains '*First'. This is a bug. It should contain '%First'.