Originally posted by Song Jing Lim:
If so, we need to use regex, don't know java.util.regex.* package are allow or not...
There is nothing in spec preventing regex use.
Coming to main topic..
I wonder if it would be safer to implement the
findByCriteria method
just as mentioned in spec. AND implement another
find method, which
is actually used in the code.
It is meaningless to have a method never referenced, but at least it does not break the spec.
IS IT A SANE IDEA ?