> Hello,
> Inside a bean (which has been declared with
> <transaction-type>Container</>, and which Container in turn has been
> delcared with <trans-attribute>Required</>) , when I get the
> TransactionManger through JDNI and call getTransaction on it, it returns
> me a null value although I'm expecting a transaction object.
> When I log the status given from the TrasactionManager, it gives me a
> STATUS_UNKNOWN value, which doesn't confort me.
Well it's not STATUS_UNKNOWN, but rather STATUS_NO_TRANSACTION, sorry.
And the bean is a SessionBean.
And same behavior when I change the container <trans-attribute> value to
RequiresNew
Sebastien
> Could anyone give me a hint of what going on ?
> Thanks,
> Sebastien
> PS: I did not know on which list to post the question. Forgive me if I've
> mistaken the list.