At 00:07 21.11.00 , you wrote:
>'lo all
>
>i'm having a wierd problem with custom finders with orion 1.3.8 and later:
>
>a) custom finders to orion cmp fields such as
> - entity references and
> - collections
>
>b) my finders are being duplicated in orion-ejb.jar.xml ie
>
><finder-method query="select domain.domain_id, domain.domain,
>domain.tld_id, domain.owner_id, domain.admin_id, domain.tech_id,
>domain.bill_id, domain.created, domain.modified, domain.expire from domain
>where domain.owner_id = $1" partial="false">
> <method>
> <ejb-name>SomeName</ejb-name>
> <method-intf>Home</method-intf>
> <method-name>findByOwner</method-name>
> <method-params>
> <method-param>long</method-param>
> </method-params>
> </method>
></finder-method>
>
>gets duplicated later in the deployed xml file however the first line will
>read
>instead
>
><finder-method query="">
> <!-- generated sql: blah blah blah
>
>does anyone have any ideas?
check if you've misspelled the ejb-name in your finder definition. if you
did that's exactly the behaviour orion exhibits. maybe we should file this
as a bug report because orion should complain that one tries t define a
finder method for a non-existent ejb. that's a tricky one to find. I've had
the pleasure just a few days ago ;-).
HTH
robert
>--
>
>Adam Cassar
>Technical Development Manager
>___________________________________________
>NetRegistry http://www.netregistry.au.com
>Tel: +61 2 9641 8605 | Fax: +61 2 9699 6088
>PO Box 270 Broadway NSW 2007 Australia
(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de