I am using cloudscape database.
I want to define a new finder method.
Here is the my entity's home interface
=====begin
public interface myEntityHome extends EJBHome
{
public myEntity create(String id, String name, int amount, String type) throws
CreateException, RemoteException;
public myEntity findByPrimaryKey(String id) throws FinderException, RemoteException;
public Enumeration findByType(String id) throws FinderException, RemoteException;
}
=======end
I specify the SQL in the deployment tool, like this
SELECT "id" FROM "myEntityBeanTable" WHERE "type" = ?
And i got error message, like this
javax.ejb.FinderException: ERROR in database SELECT for
findjava.lang.StringIndexOutOfBoundsException: String index out of range: 53
please help, thanks
Send FREE April Fool's Greetings to your friends!
http://www.whowhere.lycos.com/redirects/American_Greetings.rdct
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".