> We have some CMP beans that generate their own primary keys using sequence
> numbers, however they aren't acquired from an external source.  What is
> passed into the ejbCreate methods is simply data to be stored.  It never
> occured to us that we were doing anything special.  The big difference,
> however is that the ejbCreate method must return the primary key and since
> we generate it internally in the method it's there for us to return.
>
> IMHO, sounds like BMP is what you need to use.

Not following .Why is BMP a must? (ie. you can do something similar with
CMP, just refactor the key creation to a stateless session bean).

/Rickard




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

Reply via email to