File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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
 
Similar Threads
Null or blank String into database
inclusion of more than one finder method in CMP 2.0 using websphere 5.0
Finding Entity Object in Order...... Help Needed
PowerJ 4.1 - Properties of objects
Handleing multiple rows from an EJB