I am getting following excpetion
java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is:
java.sql.SQLException: Invalid parameter index 1.
while running
EJB QL on j2ee RI server EJB QL query is geting generated properly but while running i am getting the above exception
my query definition in home interface:
public CourseRemote findByCourseId(
String courseId) throws RemoteException, FinderException;
the ejb ql query as generated by j2ee ri server:
SELECT OBJECT(c) FROM Course as c
where c.courseId = ?
please help me as query generation is right but whilwe running this stmt:
<CourseRemote courseremoteId = home.findByCourseId("X0001");>
please help e as i have run out of options.. thanks