This content has been marked as final.
Show 4 replies
-
1. Re: generated finder methods
juha Sep 17, 2001 2:17 PM (in response to olekg)CMP finders findByPrimaryKey(), findAll() and findBy are generated for you by the container during deployment.
The specifics of the code that handles the finders are part of the JBoss source. -
2. Re: generated finder methods
olekg Sep 18, 2001 4:04 AM (in response to olekg)Thanks, for your answer Yuha. Am I able to define finders that are to be genarated ?
-
3. Re: generated finder methods
juha Sep 18, 2001 8:12 AM (in response to olekg)Yes. See the JAWS Documentation.
-
4. Re: generated finder methods
pmckinstry Dec 27, 2001 2:35 PM (in response to olekg)Which version of jboss automatically generates the finder methods?
I'm using 2.4.4 & my findByPrimaryKey is generated & works fine, but my findByOwner (where owner is a cmp field on the ejb) raises a finder exception. If i define it in the jaws.xml, it works fine. Am i doing something wrong? or using the wrong version?
-pgm