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
posted
0
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!