File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes The find method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "The find method" Watch "The find method" New topic
Author

The find method

Keith Jones
Ranch Hand

Joined: Oct 30, 2006
Posts: 105
Hi all,

a couple of questions about the find method. The spec for the method states that "A non-null value in criteria[n] matches any field value that begins with criteria[n]" and elsewhere in the document it says that the system must allow the user to search "... for records where the name and/or location fields exactly match values specified by the user".

1. This seems a little confusing to me. Our find method can easily find records where the field value begins with criteria[n] but we are also required to match name and/or location exactly. Taking both of these musts together does this mean "at least exactly match"?

2. I assume that the find method matches a record if all fields match.

Happy new year to all at Java Ranch.

Keith


SCJP 1.4
Muhammad Shafique
Ranch Hand

Joined: Sep 30, 2006
Posts: 57
See this, it may be helpful..


B&S: Search
Keith Jones
Ranch Hand

Joined: Oct 30, 2006
Posts: 105
Thank you Mohammed
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: The find method
 
Similar Threads
Exact match and starts with
URLyBird 1.2.2: findByCriteria()
UrlyBird - Question about find method
B&S: findByCriteria - pls review
find method in B&S