I'm using Struts + Hibernate + Spring for my project development.
And here is my Spring Context XML file. When I called "sessionFactory.getCurrentSession()" in the beginning of userDao.getXXXX method, the exception whose ... |
Methods invoked:
1. Struts Action
2. Service class method (annotated by @Transactional)
3. Xfire webservice call
Everything including struts (DelegatingActionProxy) and transactions is configured with Spring.
Persistence is done with JPA/Hibernate.
Sometimes the webservice ... |
Hey guys, I have been working for a while on a project with the following components:
- Struts2.1.8.1,
- Spring 3.0.3
- JPA 2.0,
- Hibernate 3
I am using Spring's EntityManager magic... But I'm having problems dealing with transactions ... |
From the Hibernate reference manual:
"Use a single database transaction to serve the clients request, starting and committing it when you open and close the Session"
Does Spring support this pattern?
I've been using ... |
I have a app written with struts2 and spring and JPA over hibernate. Form spring i use transactions and IoC.
My app is structured in 2 layers : Struts Actions and some ... |
Forum Spring Projects Web Struts 1.2.4,Ibatis 2.1.0,Spring 1.2.1 No multiple rollback! If this is your first visit, be sure to check out the FAQ by clicking the link above. You may ... |
Open transaction in Struts action Anyone known how to open a transaction in Struts's action? I've used the following config files: -- applicationContext.xml: java:comp/env/jdbc/repartoweb ... |
|
Getting TypeMismatchException with TransactionProxyFactoryBean and Struts Action Hi, I have service bean DealPricingService which I am trying to set in Struts action using Spring's struts support but I am getting following ... |
Hi, could anybody kindly help me solve this problem: Junit tests of my struts actions extend MockStrutsTestCase. I would like to integrate it with Spring's transaction wrapping during testing that is ... |
ServiceFactory, Struts2, Spring, JPA & Transactional? I am currently using a mix of Struts2, JPA and Spring ORM. This has been working fine, with passing the bean class representing the service ... |
Transactional AOP in Struts 2 Action Hi, I am trying to put a transactional aspect into my Struts 2 Actions, but it does not work. If I put the same aspect ... |
Struts actions and declarative transactions Hi, The question is: What is the simplest way to define declarative transaction demarcation for all my Struts actions? If I try to explain further: Our ... |
|
|