It is not a problem to do so but then you loose the 'transaction-al' ability
to roll back as you may have already committed the data.

Anish

 -----Original Message-----
From:   Nikhil sharma [mailto:[EMAIL PROTECTED]]
Sent:   Friday, October 05, 2001 5:33 AM
To:     [EMAIL PROTECTED]
Subject:        Purging records and bypassing Entity Beans

hi,

Is it advisable to server the large purge requests by directly firing
delete queries from
Session bean and bypassing the entity beans. Because if we proceed thru
Entity beans
un-necessary ejbLoads and ejbStores will get called and in case of
thousands of records
being purged in a single request they might get loaded by container.

So to avoid this can we directly fire db query from session bean. Has
anyone been using it
this way ...


regards,
Nikhil.

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

Reply via email to