Patches item #497173, was opened at 2001-12-27 14:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=497173&group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole (unstable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Torsten Paul (torsten_paul)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with Transaction propagation

Initial Comment:
I had the following simple setup to play with the new
CMP 2.0
code:

- JBoss v3.0 from CVS (checkout 2001-12-27)
- PostgreSQL 7.1.3
- simple entity bean with only local interface
- session bean with remote interface that wraps the
entity bean

I've configured both beans to transaction type "Required"
but got a new transaction on every call to the entity bean.

I think the problem is that the transaction is not
correctly
propagated in BaseLocalContainerInvoker.invoke(). This
creates a new instance of Invocation and passes the
current transaction but the constructor of Invocation
just discards this value effectively resetting the
transaction
for the entity bean calls.

After setting the transaction in the Invocation constructor
I got the desired results regarding database transactions.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=497173&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to