something.
Hs anyone got a simple example on having a mix of sql and entity
updates in one method of a statelss(or stateful) bean which can do a
rollback it the entity fails.
Thanks in advance.
Kind Regards
Aby
f
Orion has a different way of implementing things. but anyway I guess
you would be able to see better reason on this.
If anyone has a working example of what I am trying to do (in Orion),
I would appreciate it if someone could send the same thing to me.
Thanks very much.
Thanks
Kind Regards
Aby Philip
t bit of
help.
Kind Regards
Aby Philip
Hi HK,
I am getting puzzled now on this.
Maybe you could try UserTransaction ut = context.getUserTransaction();
where 'context' is the SessionContext or EntityContext variable which
is declared at the top of the EJB as a variable.
Kind Regards
Aby
Hi HK,
I think you should try
"java:comp/env/UserTransaction"
Regards
Aby
"HyungKee Hwang" <[EMAIL PROTECTED]>@orionserver.com on 07-07-2001
09:10:55 AM
Please respond to Orion-Interest <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
To: Orion-Interest
same output in the J2EE RI (ejbStore) called after the
transaction, but in that case the container rolls back all the
transactions, but in orion it goes this way.
Thanks very much for the help you are giving me. I am in a tight
situation here.
Thanks
Kind Regards
Aby
nothing to catch it then.
o/p is like this
here after credit
here again
here again again
and then the exception thrown by the entity although this should have happened before
'here after credit'
although the sequence should have been
only the exception thrown by the entity bean and then nothing else.
Can anyone help out?
Kind Regards
Aby Philip
exception
any idea why this happens?
Can anyone help me on this. The BMP entity has persistence
Bean
Thanks
Kind Regards
Aby
update occurs but when the second fails the first
does not rollback.
As per my understanding any problem in one of the database transactions in the
function rolls back al the others
in the same function.
Any clue on this? If someone has some example code on this, could you please send it
to me?
Thanks in advance
Regards
Aby Philip
Hi Ray,
Thanks for the reply on the second point. I had tried the same using
the points which you had given, But the driver is still the one in the
ejb-location and no transaction rollback had taken place. I guess I
will have to wait about the data source.
Thanks very much
Regards
Aby
Ray
t needs the
source-location. can anyone
help me out on this? Thanks
i would also like to know how to say 'transaction' required for one of the function of
my EJB in orion.
I could do this in the J2EE RI using the deploytool, but I am totally lost here.
Thanks in advance
Regards
Aby
11 matches
Mail list logo