>From ejb specs :
"The Bean Provider must take care when setting an isolation level. Most
resource managers
require that all accesses to the resource manager within a transaction are
done with the same
isolation level. An attempt to change the isolation level in the middle of
a transaction may
cause undesirable behavior, such as an implicit sync point (a commit of the
changes done so
far)".
Check the isolation level of calling session bean fn and entity bean fn
/Ashwani
Ramya_Sundaresan
<Ramya_Sundaresan@(protected)
OM> cc: (bcc: ashwani.kalra/Polaris)
Sent by: An interest list Subject: Calling entity beans from Session beans
for Sun Java Center J2EE
Pattern Catalog
<J2EEPATTERNS-INTEREST@(protected)
A.SUN.COM>
07/10/2003 08:44 AM
Please respond to An
interest list for Sun Java
Center J2EE Pattern
Catalog
Hi,
I am using the following structure in my ejbs.
I establish the connection with the db and retrieve the records using
session beans.
i loop through this resultset and try to insert the record in another table
through the entity bean.
but i get a isolationlevel change exception whenever an insert is made
through this entitybean .
Please help me out!!!
ramya
-----Original Message-----
From: P i P O [mailto:wsellado@(protected)]
Sent: Thursday, July 10, 2003 8:41 AM
To: J2EEPATTERNS-INTEREST@(protected)
Subject: EJB Calling a Servlet
i know this is strange but.....i am
just trying to adjust on the current
system. a servlet is handling the login and
logout which also initializes all the
session for users. and here...i want to have
a session bean that could login using that
servlet. any idea from u? thanks in advance.
pipo
====================================================================
Community Web Site (Core J2EE Patterns Catalog - Online Version):
http://java.sun.com/blueprints/corej2eepatterns
Getting Started (Beta Version):
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
Get the book:
http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20
List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing:
email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
====================================================================
Community Web Site (Core J2EE Patterns Catalog - Online Version):
http://java.sun.com/blueprints/corej2eepatterns
Getting Started (Beta Version):
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/
Get the book:
http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20
List Archive:
http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing:
email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in