The main advantage using CMP is, the bean is independent of data source.
With BMP, Persistence is hard coded and Bean cannot easily adapt to different
data source.
-Kishore
Manisha Umbarje wrote:
> Hi All,
>
> I have never used CMP before. I have been working with BMPs only. What
> is the advantage of using CMP besides the fact that it generates SQL
> queries?. There are many cases in which you might want to execute SQL
> Statements based on certain conditions. In such situations, wouln't BMP
> be more convinient than CMP, since in BMP you can control execution of
> SQL Statements ?
>
> Any help would be greatly appreciated.
>
> Manisha
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".