test for criteria builder and ( or )
both hibernate and eclipselink persistence units available to test on