1 Reply Latest reply on Jun 15, 2003 11:32 AM by juhalindfors

    problem with CMP custom finders on JBoss 3.2.1

    vanitas

      Hi,

      We were using JBoss 3.0.7, but now we want to switch to 3.2.1.

      We were using CMP custom finders (we have created ejbFind method and implemented it in CMP bean) as we needed to do some advanced queries against DB. Everything worked fine (except read-ahead).

      Today, I downloaded JBoss 3.2.1 and threw the same ejb jars as we were using into it and unfortunetally I get the following error during deployement:
      ---
      EJB spec violation:
      Bean : Company
      Section: 10.6.2
      Warning: CMP entity beans may not define the implementation of a finder.
      ---

      and of course deployement fails.

      My questions are: what has changed since 3.0.7 that causes this error? Is it still possible to use custom finders in 3.2.1? Will it be possible in 4.0?

      Thanks for any help,
      greg