Hello Nicolas,

I think that the EJB specification does not allow to have
entity bean with mixing container and bean managed persistence.

Here is some phrases of the EJB specification 1.0 chapter 9.10,
and of the EJB specification 1.1 chapter 9.4:

- "An entity bean with CMP must not code explicit data access - all data
   access must be defered to the container".

- "The entity Bean Provider does not write the finder (ejbFind<Method>())
   methods.
   The finder methods are generated at the entity bean deployment time
   using the container provider tools..."

Regards.
H�l�ne.

Nicolas Schaaf wrote:
> 
> Hello all,
> 
> I'm trying to write an EJB with both container and bean-managed find
> methods. The problem is that
> the GenIC tool explicitly asks for including all the find methods in the
> descriptor:
> 
> "GenIC ERROR: 'db.Finder.findSociete' property not defined in the
> ContainerProperties"
> (where findSociete is the name of the method I want to manage myself)
> 
> On the other hand, the findSociete method has to be managed by the bean
> itself, because its
> signature includes non-basic types. Of course a solution would be to
> make the EJB entirely
> bean-managed, but I'd like to avoid that for obvious reasons...
> 
> Has anybody some hints about that problem ? Is it a limitation of Jonas
> itself or am I doing
> something wrong ?
> 
> Thank you for your help.
> 
> --
> +---------------------------------------+
> | Nicolas Schaaf                        |
> | Ecole des Mines de Nantes (France)    |
> +---------------------------------------+
> |  e-mail: [EMAIL PROTECTED]  |
> +---------------------------------------+
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to