I am trying a simple home method with a query
Home method
public java.util.Collection findByInQueue()
throws java.rmi.RemoteException,javax.ejb.FinderException;
ejb-jar.xml snippit
<query>
<ejb-ql>select object(t) from transferhead t where status=' '</ejb-ql>
<query-method>
<method-name>findByInQueue</method-name>
<method-params>
</method-params>
</query-method>
<result-type-mapping>Remote</result-type-mapping>
</query>
Now there are two problems
1)
[CMP,DEBUG] Finder: inQueue
[CMP,DEBUG] Could not create the finder findByInQueue, because no
matching CMP field was found.
there are no arguments, just run it.
2) Now actually call the homemethod and I get
findByInQueue command executing: SELECT t1_t.objectid FROM
Transferhead t1_t
Which politly returns all of them. Should it not throw an error or at
least not return anything?
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development