Steve, I am seeing the same problem. Any help would be appreciated guys!
-Pete
Version: JBoss 2.0-FINAL
I am having problems getting custom finders to work,
both using the JAWS <finder> tag and defining an
ejbFindXXX method. So I have two questions:
1. How do you write your own finder in an entity bean?
MyEntityHome:
public abstract Collection findBySomething(int i)
MyEntityBean:
public Collection ejbFindBySomething(int i){
// Do something and return a Collection of primary
// keys for all records that match this criteria
}
2. How do you configure a working JAWS finder?
MyEntityHome:
public abstract Collection findBySomething(int i)
jaws.xml:
<jaws>
<enterprise-beans>
<entity>
<ejb-name>MyEntityBean</ejb-name>
<finder>
<name>findBySomething</name>
<query>something < {0}</query>
<order></order>
</finder>
</entity>
</enterprise-beans>
...
</jaws>
This is how I understand the functionality, but
neither is working for me.. In case 1 I added a
System.out.println() to display when the method is
called, and it is never called. In case 2 it always
throws a FinderException..
Any ideas?
Thanks!
Steve
=====
Steven Haines
Technical Lead
IPNet Solutions
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(949)476-4463 x388
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]