Hey

Manisha Umbarje wrote:
> 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 ?

Well, you can mix if you want. There's no rule saying that you're not
allowed to make SQL calls in a CMP bean. What CMP provides is Container
Managed Persistence. That's it. It's mostly there for convenience
reasons. If you want something more than that you can use SQL-calls in
your CMP bean.

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
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".

Reply via email to