Re: Weird Transaction Problem

2001-11-27 Thread Fredrik Lindgren
Herman Rashid wrote: > I have this EJB transaction related problem > (Orion 1.5.2, DB2 V7.1) : > > I have 2 EJBs: > > 1) UserSession (Stateless session bean) > trans-attribute: Required > transaction-type : Container > > 2) User (BMP entity bean) > trans-attribute: Mandato

Re: Weird Transaction Problem

2001-11-27 Thread Stephen Davidson
Herman Rashid wrote: > I have this EJB transaction related problem > (Orion 1.5.2, DB2 V7.1) : > > I have 2 EJBs: > > 1) UserSession (Stateless session bean) > trans-attribute: Required > transaction-type : Container > > 2) User (BMP entity bean) > trans-attribute: Mandatory

Weird Transaction Problem

2001-11-27 Thread Herman Rashid
I have this EJB transaction related problem (Orion 1.5.2, DB2 V7.1) : I have 2 EJBs: 1) UserSession (Stateless session bean) trans-attribute: Required transaction-type : Container 2) User (BMP entity bean) trans-attribute: Mandatory My client makes a call to a method in User

SOS!!! Transaction Problem...

2001-11-18 Thread George M Chacko
Hi all, I am new to Orion. I am facing a major problem with transaction in orion. I wrote a simple session bean to insert record into a MYSQL database. I have given the transaction attribute as REQUIRED in the deployment descriptor. In the single insert() method, I am doing two sql insert

RE: Transaction problem in EJB

2001-06-21 Thread Krishnamurthy, Balaji (MED)
EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 9:01 AM To: Orion-Interest Subject: Transaction problem in EJB Hi everyone, I have a problem with transactions. My aim is to have two sql 'inserts' in one function. The function is covered by the 'Required' attribute in the xml

Transaction problem in EJB

2001-06-21 Thread aby
Hi everyone, I have a problem with transactions. My aim is to have two sql 'inserts' in one function. The function is covered by the 'Required' attribute in the xml file. The data source is used from the 'ejb-location'. If one insert fails , the container rolls back all the other database insert

Container-transaction problem

2001-06-09 Thread Jim J. Pan
Hi! All, I got a question regarding to Container-transaction management. The database just won't rollback when I use Container-transaction. I am calling from a session bean (ApplicationService) to an entity bean (ApplicationEntity) with ejbCreate(). ... ApplicationEntityHome home = getAp

Re: transaction-problem

2000-11-30 Thread Daniel G. Koulomzin
What sort of exception is being thrown?   If it is an "Application Exception", the container is not supposed to automatically rollback the transaction (see EJB 1.1 spec, section 12.1.2 ).  In order to rollback, call EJBContext.setRollbackOnly(). If its a System level exception (like an SQL Except

transaction-problem

2000-11-30 Thread Andreas Reckmann
Hi, i try to run orion with container-managed-transactions. I set the isolation-level in orion-ejb-jar.xml to "seralizable". I set in the ejb-jar.xml-File (for the involved methods) the transaction-attribute to "Required". From a Session bean I call some create-methods. The create-methods thems

AW: failed transaction problem - new entity bean not erased

2000-08-01 Thread Jens Stutte
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 1. August 2000 00:22 > An: Orion-Interest > Betreff: failed transaction problem - new entity bean not erased > > Hi everybody - Hi, i don't know, why

failed transaction problem - new entity bean not erased

2000-07-31 Thread eml
Hi everybody - I've got a session bean that creates a new entity bean, pushes some things around in the database, then [on purpose] throws an EJBException to rollback the transaction. When I look at the database, I see that all the stuff the session bean did to the database has been [correctly] r

User Transaction problem

2000-05-31 Thread Uwe-Klaus Roth
Hello, do anybody know: If/How  can I  get a UserTransaction in a EJB-Client ? thank you uwe begin:vcard n:Roth;Uwe tel;fax:07545/202301 tel;work:07545/202347 x-mozilla-html:FALSE url:www.innovations.de version:2.1 email;internet:[EMAIL PROTECTED] title:Innovations GmbH adr;quoted-printable:;;