1 Reply Latest reply on May 4, 2003 10:47 PM by larry054

    Custom finder in a CMP bean

    larry054

      Does anyone have an example of a CMP bean with a custom finder? I have written CMPs and BMPs but never tried this and I am confused. For example, should my custom finder make its own connection? If not, how do I access an existing one?

      Thanks.

        • 1. Re: Custom finder in a CMP bean
          larry054

          As usual, I have answered my own question. The answer is yes: you get a connection for each call of the finder and let the connection go at the end, just like with BMP. (Duh) I was having trouble because of a typo in my xdoclet comment.