Marco writes:
 > How can I do this?

Well, I'm no expert, but I'd say you'd just leave it out of your
jaws.xml and add a method to your bean something like:

public Collection ejbFindByWingColour( String colour )
{
                                ...
                                ResultSet rs = stmt.executeQuery( "SELECT * FROM 
AEROPLANE_HATS WHERE COLOUR='" + colour + "'" );
                                ...
                                Collection c = ...;
                                return c;
}

 > Aaron Mulder wrote:
 > > I think a better solution would be for you to just write some of
 > > the finders yourself.  You can do that, even with CMP beans, and it will
 > > be *way* faster than waiting for complex features to be added to the core
 > > server.
[snip]

Tom
-- 
Tom Cook - Software Operations

"We rarely find that people have good sense unless they agree
 with us."
                - Francois, Duc de la Rochefoucauld

LISAsoft Pty Ltd - www.lisa.com.au

--------------------------------------------------
38 Greenhill Rd.          Level 3, 228 Pitt Street
Wayville, SA, 5034        Sydney, NSW, 2000

Phone:   +61 8 8272 1555  Phone:   +61 2 9283 0877
Fax:     +61 8 8271 1199  Fax:     +61 2 9283 0866
--------------------------------------------------


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to