aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Websphere 3.5 - FinderHelper Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Websphere 3.5 - FinderHelper Interface" Watch "Websphere 3.5 - FinderHelper Interface" New topic
Author

Websphere 3.5 - FinderHelper Interface

kelly schellenberger
Greenhorn

Joined: Jun 21, 2001
Posts: 2
I am using TogetherJ to deploy EJB's to Websphere 3.5. TogetherJ's deployment tool generates a FinderHelper interface that includes finder query strings.
i.e. String findAllQueryString = "";
Each of these query strings are set to blank...I'm wondering if these can be left blank? What is the FinderHelper interface used for? What is the effect of a query string being left blank?
If the query string's cannot be left blank, what should they be set to?
Thanks!
Andrew Tarkhov
Greenhorn

Joined: Jul 04, 2001
Posts: 1
For CMP you should define Query string for finder method, for example:
final static String findAllQueryString = "SELECT * FROM SCHEMA.TABLE T1 WHERE T1.ID > ?";
i.e. standard SQL SELECT request (T1 - table alias, ID - name of column).
In this case you finder method have to look like this:
java.util.Enumeration findAllQueryString(int num) throws ...
Regards,
Andrew
Originally posted by kelly schellenberger:
I am using TogetherJ to deploy EJB's to Websphere 3.5. TogetherJ's deployment tool generates a FinderHelper interface that includes finder query strings.
i.e. String findAllQueryString = "";
Each of these query strings are set to blank...I'm wondering if these can be left blank? What is the FinderHelper interface used for? What is the effect of a query string being left blank?
If the query string's cannot be left blank, what should they be set to?
Thanks!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere 3.5 - FinderHelper Interface