posted 18 years ago
Hi
consider a business method in a stateful session bean with bean managed transaction
public void bussinessMethod()
{
UserTransaction ut = this.sessionContext.getUserTransaction();
ut.begin();
UserTransaction ut2 = this.sessionContext.getUserTransaction();
ut.begin();
}
is this code supposed to handle the transqaction related checked exceptiopns.
ut.begin() throws a javax.ejb.NotSupportedException which is a checked exception.
its obvious it must handle it, but i am asking to confirm that as none of the code samples i have looked at seems to be showing that.
thank you very much for you time, i really appreciate it.
sid