Hi All -
I am using Hibernate Transactions in our project .
The flow is as follows.
JSP --> Actions -- > Business Layer --> Component Layer --> Persistence Layer --> Data base
Currentl I am doing Transaction management in Persistence Layer.
Can I do it in business layer ? The reason is , In a business layer in a function I am calling two methods which will connect to two different databases. If one Transaction is success and one fails I can't roll back both transactions as persistent layer is different for both and databases are different.