Hi,

I ve written following Doclet's in my beans implementation class
=========
/**
* @ejb.finder
* signature = "CartMaster findmaxid()"
* method-intf = "Home"
* query = "SELECT MAX(cms.cartid) FROM EmployeeMaster as cms"
*/
======
When I build my application using XDOClet is build successfully & deployed 
Successfully under JBOSS 4.0.3
But Problem is that when I invoke my client Program containg code for Accesing 
findmaxid() method as follows:-
===========
Employeemaster E1=null;
Employeemaster E1=home.findmaxid();
================

It gives me error like
=============
Cannot create CDBean: javax.ejb.FinderException: Find failed: 
java.sql.SQLException: Got a java.lang.String[cl=0, value=S0000105] while 
looking for a Beans.interfaces.EmployeeMaster[cl=18074979]
=============

Pls tell me where i m wrong.

Thanx,
Prash

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918603#3918603

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918603


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to