Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dynamic Queries and EJB-QL/EJB 2.0

843829Dec 12 2001 — edited Dec 20 2002
Hi there,

I'm thinking about searchability of component-based systems. Of course
I've looked at the EJB-QL part of the 2.0 spec. But all I find is that I
can go and declare static finders using EJB-QL in the descriptor.

Simple question: I have boolean combinations of queries coming in, as
defined by a user typing things into a search form like "a and b" or "c
and not d". How am I supposed to map this onto an EJB 2.0 based
implementation? Anticipate all possible boolean query combinations?
Declare a combinatorial number of EJB-QL finder expressions? For sure
not.

But what's the answer? "The 2.0 spec sucks..."?

Any comments are appreciated.
-- Axel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2003
Added on Dec 12 2001
2 comments
86 views