*
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 Android Security Essentials Live Lessons this week in the Android 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!

 
Don't get me started about those stupid light bulbs.
 
subject: Websphere 3.5 - FinderHelper Interface
 
Similar Threads
Finding Entity Object in Order...... Help Needed
Handleing multiple rows from an EJB
inclusion of more than one finder method in CMP 2.0 using websphere 5.0
Null or blank String into database
PowerJ 4.1 - Properties of objects