Test class for Criteria.
author: Christopher Elkins author: Sam Joseph author: Scott Eade version: $Id: CriteriaTest.java 535591 2007-05-06 10:05:04Z tfischer $
testLikeWithoutWildcards() This test case verifies if the Criteria.LIKE comparison type will
get replaced through Criteria.EQUAL if there are no SQL wildcards
in the given value.
testNotLikeWithoutWildcards() This test case verifies if the Criteria.NOT_LIKE comparison type will
get replaced through Criteria.NOT_EQUAL if there are no SQL wildcards
in the given value.
This test case has been written to try out the fix applied to resolve
TRQS73 - i.e. ensuring that Criteria.toString() does not alter any limit
or offset that may be stored in the Criteria object. This testcase
could actually pass without the fix if the database in use does not
support native limits and offsets.
This test case has been written to try out the fix applied to resolve
TRQS73 - i.e. ensuring that Criteria.toString() does not alter any limit
or offset that may be stored in the Criteria object. This testcase
could actually pass without the fix if the database in use does not
support native limits and offsets.
This test case verifies if the Criteria.LIKE comparison type will
get replaced through Criteria.EQUAL if there are no SQL wildcards
in the given value.
This test case verifies if the Criteria.NOT_LIKE comparison type will
get replaced through Criteria.NOT_EQUAL if there are no SQL wildcards
in the given value.