All of this is covered in detail in section 17.3.2 of the EJB 2.0 spec. I
think everyone should take a secound and read it (it is only three
paragraphs).
-dain
----- Original Message -----
From: "Bill Burke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 2:52 PM
Subject: RE: [JBoss-dev] Shouldn't expose transaction-isolation within CMP
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of marc
> > fleury
> > Sent: Tuesday, June 26, 2001 3:05 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-dev] Shouldn't expose transaction-isolation within
> > CMP
> >
> >
> > |Please correct me if I'm wrong(I seem to be wrong about 50% of the
> > |time :-),
> > |but, I really don't think you should expose transaction-isolation
levels
> > |within CMP or in the definition of entities. This really belongs in
the
> > |creation of the connection pool. CMP cannot really guarantee that a
> > |connection will not be shared between different entity types
> > |within the same
> > |transaction that use the same connection pool. Actually, I'm pretty
sure
> >
> > which is why I am asking if the jdbc drivers support
> > reconfiguration of the
> > isolation level on the fly or is it pretty much a "constructor" thingy.
> >
> > btw if it is the good case (we can change it) then it is not up to
minerva
> > to do this, all minerva does is hand out the connection but it is up to
a
> > functional unit above it, one aware of the application accessing this
> > connection. That would live in JCA, but it would need to know the
> > applciation context, or it would purely live in the app server
> > sphere (i.e.
> > jaws getting the connection, or asking the container to do it on
> > its behalf,
> > whatever we can do that call somewhere, factored or not).
> >
> > am i making sense?
> >
>
> Danch wrote:
> >
> > It's on the fly, but it (generally) has to be set at the beginning of
> > the transaction only.
> >
>
> So the isolation flag should really be taken out of Dain's stuff? Again,
I
> humbly recommend moving the transaction-isolation level to the definition
of
> the connection pool until a better abstraction(JCA? I know jack squat
about
> it..) is implemented. With that, you can attach the Entity to the
> connection pool configured to your liking.
>
> Bill
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development