tisdagen den 28 januari 2003 kl 02.38 skrev Fan Yang:
Hi, all,What you are saying is that both the session bean and the entity beans has TX set to Required? Or only the entity beans?
�
I have a CMP transaction problem and can not find correct answer from the forum.
I appreciate very much if anyone can give me a clue.
�
I have a stateless session bean and 2 CMP entity beans. (trans-attributeall set to Required.).
In the session bean, I create 2 entity beans. The problem is, no matter the creation of the second entity is successful or not, the first entity bean is always created the database, the transaction manager does not rollback the first entity bean. (I set up a unique�constraint to the second entity,�an exception will�be thrown from the�jdbc driver).Are the create of entity beans done within one and the same method in the stateless session or in two separate methods?
/L
�
My environment is Jboss3.2.0RC2 and Oracle 8.1.7.�I tried other jboss versions and MS Sql Server as well.
There is just one database setup so I do not need distributed transaction. Anyway, I tried oracle-ds.xml, oracle-xa-ds.xml, oracle-service.xml, oracle-xa-service.xml. none works.
�
If any body can help, thank you very much.
�
Fan
�
�
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
