| Author |
criteriaFind parameter question
|
Sergei Simonov
Greenhorn
Joined: Dec 20, 2002
Posts: 3
|
|
hi there I got a question. Does criteriaFind by spec from Sun should be supporting only AND logical operation? "Carrier='SpeedyAir',Origin='SFO'" "For example, the following argument string would select all records describing flights by the SpeedyAir carrier that originate in San Francisco." What if user of Data class will pass something like "Origin='FRA',Origin='SFO'" : give me records where Origin is FRA OR(!!) SFO? Or we just return nothing without exception because the same record cannot have two values in one of its fields? Thank you
|
 |
Max Habibi
town drunk ( and author)
Sheriff
Joined: Jun 27, 2002
Posts: 4118
|
|
Yes, only the logical should be supported. M, author The Sun Certified Java Developer Exam with J2SE 1.4
|
Java Regular Expressions
|
 |
Sergei Simonov
Greenhorn
Joined: Dec 20, 2002
Posts: 3
|
|
Hi Max You mean logical what? Only logical AND operation we support?
|
 |
Max Habibi
town drunk ( and author)
Sheriff
Joined: Jun 27, 2002
Posts: 4118
|
|
Must have mistyped my message. Yes, only AND. M, author The Sun Certified Java Developer Exam with J2SE 1.4
|
 |
 |
|
|
subject: criteriaFind parameter question
|
|
|