1. What's the difference between using @Transactional and Spring template? stackoverflow.comIf I use @Transactional in my DAO will all of my EntityManager queries be encapsulated with commit and close? Or do I need to use Spring template (JPA template, Hibernate ... |
2. Database-sessions in Spring stackoverflow.comI'm quite new to Spring, and I would like to understand a bit more about sessions. I've mapped a legacy database with Hibernate annotated entities and built a couple of service ... |
3. Spring transaction management breaks hibernate cascade stackoverflow.comI'm having a problem where the addition of spring's transaction management to an application causes Hibernate to throw the following error:
|
4. Why are transactions not rolling back when using SpringJUnit4ClassRunner/MySQL/Spring/Hibernate stackoverflow.comI am doing unit testing and I expect that all data committed to the MySQL database will be rolled back... but this isn't the case. The data is being committed, ... |
5. Is Log4J Logging a Costly Transaction? stackoverflow.comLogger Hi, I have a Spring MVC webapps that needs some server side logging so I configured Log4J in my Spring MVC
In my controller, I logged all user transaction.
|
6. Spring-MVC best practices: Why put transactions on services rather than DAOs? stackoverflow.comI am learning Spring-MVC in my first project here. After reading the documentation on transactions I noted that all of the examples put transactions around the service objects/methods, not the DAO (data ... |
7. Best practices for rolling back transactions in Spring 3/Hibernate stackoverflow.comReferencing Spring documentation: Any RuntimeException will trigger rollback, and any checked Exception will notReferencing javapractices.com Unchecked exceptions : |
8. Manual recursive delete throws "deleted instance passed to merge" in hibernate stackoverflow.comNOTE: I am using a J2EE Spring MVC + Hibernate with both using annotations for this. I have a file system modeled in hibernate with a hierarchy of folders and files in ... |
9. how to use transaction manager in spring 3 stackoverflow.comi tried using this in spring 3 xml file but it gives error
what thinga are required for this to work
|
10. Spring/Hibernate @Transactional - Session closing before it should stackoverflow.comI can't figure out why, but the Hibernate session is closing before it should, so I can't fetch lazily loaded lists. In the logs, it's showing that the session closes immediately after ... |
11. Spring3, Hibernate, MySQL - How do I add transactions control? stackoverflow.comSpring3, Hibernate, MySQL - How do I add transactions control?? I would like to find out how to add transaction control to the following so if one of the calls do make ... |
12. Spring 3 + Hibernate: Should I use dirty checking, and how do I do so using annotation based transactions? stackoverflow.comFirst off, I'm new to Spring and I don't have my head quite wrapped around how it handles Hibernate transactions, so feel free to teach me a thing or two about ... |
13. Hibernate, Spring Web Service transaction issue stackoverflow.comI have two applications. One is OrderService and another is TradeService. In trade service there is a method 'Buy' which is transactional. Issue arises when Trade Service calls SubmitOrder method of Order service ... |
14. How to call a custom rollback method in Spring Transaction Management? stackoverflow.comEnvironment: Spring 3, Custom Transaction Management, JDBC Transactions I just read the Spring docs on using the transaction template to handle transaction management. It seemed overly complex so I want to ask: Most ... |
15. Webservice calls within the same JDBC transaction are causing DB lock timeouts stackoverflow.comI'm using the H2 database embedded within a Spring-MVC app. I have declare Transactions at my service level. In particular I have a case where we do the folllowing:
|
16. Spring 3 MVC Hibernate 3.5.4 hibernateTemplate not closing connections (non-transactional) stackoverflow.comWe are using Spring MVC 3.0.5.RELEASE with Hibernate 3.5.4-Final without transactions. Every time we access the database through the hibernateTemplate it creates a new connection and seemingly never closes them. UPDATE: we've ... |
17. Spring 3 MVC: @Transactional added to Service class and now getting exception stackoverflow.comI am very new to spring and java. I have been using mostly springsource.org to try and work my way through creating a spring 3 MVC web application. I have it ... |
18. Is there a way to explicitly commit and rollback transaction after several client&server submit stackoverflow.comEnvironment: The application is using Spring Framework 2.5.6.SEC01 and iBatis 2.3.4.726. It is MVC design. Here's the scenario:
|
19. Spring MVC 3 + Hibernate: Different Addresses of objects (once loaded via service, once via entity) stackoverflow.comI have an Entity "Account" which has a ManyToMany Relationship to an Entity "Role". When I add a new "Account" via JSP Form everything works fine. I can choose there all ... |
20. Liferay transactions how-to stackoverflow.comI am copying from Liferay forum - didn't get answer in 2 weeks. http://www.liferay.com/community/forums/-/message_boards/message/9384663 I am looking for document/blog How to Liferay Transaction. Liferay 6.0.6 PostgreSQL I have a hook with jax-ws web services. I ... |
21. Hibernate and Spring3 Transaction Management Annotation-Configuration problems: Hibernate-Exception: No Hibernate Session bound to thread stackoverflow.comThough this question has been asked several times, after trying many of the suggested solutions I'm still having problems getting Spring 3 to work with Hibernate (and Postgres). I always get ... |
22. Getting Transaction not successfully started exception using Spring Hibernate stackoverflow.comI have a UserProfile entity which I need to save. after saving the entity in the database, I get the following exception:
|
23. Spring @Transactional doesn't work with other annotations? stackoverflow.comSo my Spring education continues. Currently I'm trying to learn some of the annotations and the things they bring to Spring 3. So I've got a mini webapp that can connect ... |
24. Hibernate and Spring - entity with multiple members inheriting from same parent causes JDBCException, @Transactional weirdness stackoverflow.com(This is a rewrite of my other question) I have a Spring WebMVC app that uses Hibernate as its backend. Since my domain model is changing constantly and I am not ... |
25. handling multiple Transactions in spring Hibernate stackoverflow.comI want to update 3 tables in such a way one entry in first table and multiple entries in other two tables. My code is below: ... |
26. Spring MVC 3.0 application using JPA not saving to database stackoverflow.comI'm trying to figure out how to use Spring MVC and I've put together a sample application to do so. I used Roo for basic set up, but I've added ... |
27. Multiple datasource providing synchronous rollback stackoverflow.comI am using Spring 3 and hibernate 3 for my application. I have two tables in two Different DB schema .. but same type of DB MYSQL. So i an update ... |
28. spring MVC + JPA + JTA Applications needed. forum.springsource.orgHi, I need one small simple sample application with the following combinations. Spring MVC + JPA + JTA(with transactions) can any body help on this. |
29. Springmvc-Single insert or update statment is required for transaction management? forum.springsource.orgDear team, My application is running in spring MVC. we are using transaction template used only multiple insert or update statement. For single table insert or update we are not using ... |
30. transactions and mvc forum.springsource.orgHi, I just started to use transactions with springframework so I got few questions: 1. Can I declare Controller methods (onSubmit, handleRequest...etc...) transactional ? I tried it via annotations but it ... |
31. Transaction management problem (Hibernate3, Spring MVC) forum.springsource.orgTransaction management problem (Hibernate3, Spring MVC) Having some trouble with getting transactions to work in my hibernate3 app. I don't know, but I think it might be something related to executing ... |
32. @ transaction ignored from within MVC forum.springsource.orgHi, I have a dao using transaction annotation, it works fine in unit testing and when called from quartz scheduler. But it does not work when called from abstactcontroller. Is there ... |
33. Problem with MVC testing and transaction manager forum.springsource.orgProblem with MVC testing and transaction manager Dear colleagues, I am writing unit tests for Spring MVC application that originally works under Resin. Hibernate is configured to use JTA transaction manager ... |
34. Optimistic Locking with SpringMVC, Hibernate, and Firefox forum.springsource.orgOptimistic Locking with SpringMVC, Hibernate, and Firefox Hi all, I recently implemented Optimistic Locking in a SpringMVC / Hibernate application but find it doesn't seem to work with Firefox. Here is ... |
35. Transactions in spring.mvc forum.springsource.orgTransactions in spring.mvc Hi! I am developing a "proof of concept" using spring.mvc which invokes other modules which is implemented using spring. I get an xml parsing error: Code: Caused by: ... |
36. Transaction issues in spring web mvc? forum.springsource.org |