Code on entity bean being looked up from a session bean and transactionrollback

2001-07-15 Thread aby
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

Exception thrown in Entity bean not being caught by the session bean(butworks in J2EE RI)

2001-07-13 Thread 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

Re: Transaction problems

2001-07-13 Thread aby
t bit of help. Kind Regards Aby Philip

RE: How can I get UserTransaction or TransactionManager

2001-07-08 Thread aby
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

Re: How can I get UserTransaction or TransactionManager

2001-07-06 Thread 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

Re: Exception thrown by BMP not being caught by Session

2001-07-06 Thread aby
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

Exception thrown by BMP not being caught by Session

2001-07-06 Thread 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

Transaction management in BMP through Session bean

2001-07-06 Thread aby
exception any idea why this happens? Can anyone help me on this. The BMP entity has persistence Bean Thanks Kind Regards Aby

Transaction problem in EJB

2001-06-21 Thread 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

Re: Transaction and DriverManagerXADataSource

2001-06-19 Thread aby
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

Transaction and DriverManagerXADataSource

2001-06-19 Thread aby
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