In the ATM if I access two different session factories which gets the transaction? Or do i need to access the ITransactionManager?


pseudo-code

[Transaction()]
public virtual void ControllerMethod(Guid id)
{
    using(this._sessionManager.OpenSession("secondary"))
    {
        //do stuff

        using(ISession sess2 = this._sessionManager.OpenSession("primary"))
        {
            //do stuff
        }
    }
    this.Redirect("leads", "list");
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to