context « Transaction « Spring Q&A





1. Transaction configuration for Spring Java configured context    stackoverflow.com

I've been struggling with this for a few hours now. I'm trying to migrate my Spring XML configuration to a full Java based configuration. I'm using AnnotationConfigApplicationContext as a context implementation. ...

2. Spring JPA : Application managed persistence context with @Transactional and @PersistenceContext    stackoverflow.com

Currently im trying out the application managed persistence context, by creating the entity manager manually and store them to enable transaction that spans multiple request calls (perhaps something like extended persistence ...

3. Spring transactional context doesn't persist data    stackoverflow.com

I know that my problem is a common problem, but I've checked a lot of questions here, checked Spring documentation and I really don't know what I am doing wrong. My problem: ...

4. Spring remote services with a transaction context    stackoverflow.com


I have the following scenario:
I have an interface-server which listens on a queue and receives messages from the "outside world". This server then calls a "internal", business, service which in turn ...

5. Spring @Transactional - JPA context in transaction problem    stackoverflow.com

I'm using Spring + JSF + JPA configuration hosted on Glassfish v3.1. I'm experiencing some strange (at least for me) behavior of @Transactional annotation. Here is my simplified example:

@Transactional
public void associateGroupToRole(String ...

6. Spring import application context from another project    stackoverflow.com

I have 2 projects, one of them is included in the other one build path, both of them have his own application context defining his beans. I want to manage Global Transactions ...

7. Spring JPA : Application managed persistence context with @Transactional and @Persist    forum.springsource.org

Spring JPA : Application managed persistence context with @Transactional and @Persist Hello Spring community ! My name is Albert, and currently im trying out the application managed persistence context, by creating ...

8. Spring WebFlow + JPA + JTA - persistence context doesn't save data to db    forum.springsource.org

Mar 11th, 2011, 05:53 AM #1 dumont View Profile View Forum Posts Private Message Junior Member Join Date Mar 2011 Posts 5 Spring WebFlow + JPA + JTA - persistence context ...

9. Spring Context (XML): Transaction Advice with Method Parameters possible?    forum.springsource.org

Spring Context (XML): Transaction Advice with Method Parameters possible? Hi All, I cannot find a way to configure Spring context XML doing declarative transactions just like what you can do in ...





10. Questions about the transactionManager and hibernate.current_session_context_class    forum.springsource.org

Spring+Struts+Hibernate Integration if i set "hibernate.current_session_context_class" to "thread" 1.Can the transactionManager, HibernateTemplate and OpenSessionInViewFilter detect the session that binded to current thread? If i use the getCurrentSession() method of SessionFactory, can ...

11. referring contexts in jars causes locking when undeploying ?    forum.springsource.org

Hi all, when trying to execute the catalina undeploy task on a webapp that has it's web.xml referring to spring context files in a jar, I experience a locked jar situation. ...

12. Programatic rollback but maintain transactional context    forum.springsource.org

Programatic rollback but maintain transactional context Hi I need to be able to do the following within the context of a transaction. pre-condition: database is empty -- Transaction starts Write A ...

13. can't rollback on exception. how to config in context.xml?    forum.springsource.org

Apr 6th, 2005, 03:45 AM #1 creatxr View Profile View Forum Posts Private Message Member Join Date Jan 2005 Posts 70 can't rollback on exception. how to config in context.xml? can't ...

14. Multiple application contexts causing JTA issues    forum.springsource.org

Multiple application contexts causing JTA issues Hi, I'm working on a web application that has somewhat of an interesting architecture. We have our own middleware/messaging layer which transports data via oagi ...

15. Failed to load application context because of Annotated Transactions    forum.springsource.org

Aug 29th, 2006, 11:07 AM #1 schuer View Profile View Forum Posts Private Message Junior Member Join Date Jan 2005 Posts 17 Failed to load application context because of Annotated Transactions ...

16. Spring JPA + Extended Persistence Context + Multiple Transactions    forum.springsource.org

Spring JPA + Extended Persistence Context + Multiple Transactions Is it possible to have an extended persistence context in a Spring JSE application that supports multiple embedded transactions? e.g. lets say ...





17. EJB Transaction Context    forum.springsource.org

EJB Transaction Context Hi, Im using the springframework with a transactionManager/Service (JTS), the application is ok, transactions are all perfect, recovering too. Im using Atomikos Transactions Essentials (ATS), now i have ...

18. Context initialization locking    forum.springsource.org

Context initialization locking Greetings, Lately I've been facing a quite annoying problem. Spring initialization simply takes forever. And I mean forever because I'm still waiting for it to start. I searched ...

19. Propagation of transaction contexts across remote calls - how I solved it    forum.springsource.org

Propagation of transaction contexts across remote calls - how I solved it Hi all, as the topic already says I was in the need of propagation tx contexts across remote calls. ...

20. Hibernate save object queries don't work inside step context transaction    forum.springsource.org

Hibernate save object queries don't work inside step context transaction Hello, my problem seems simple : Inside my HibernateAwareWriter write method, I do : hibernateTemplate.save(myobject); hibernateTemplate.flush(); But no SQL query logged ...

21. JTA transaction-manager inaccessible in MVC context. Bad configuration or bad design?    forum.springsource.org

JTA transaction-manager inaccessible in MVC context. Bad configuration or bad design? Hi, I have successfully configured my JTA transaction-manager in my Spring application. It works perfectly in that context layer. I've ...

22. Use of Multiple App Context Files and Transaction Manager    forum.springsource.org

Use of Multiple App Context Files and Transaction Manager I hope I have the right forum. I have a very simple issue but not sure I've configured my application correctly. I ...

23. IBM MQ Transaction Management integration in Spring Context    forum.springsource.org

Hi, I'm looking for how to use IBM MQ Transaction Management API's in spring context. I want use IBM MQ Transaction Management API's to control the transaction management in sprin frame ...

24. Not able to configure tx:jta-transaction-manager in spring application context    forum.springsource.org

Not able to configure tx:jta-transaction-manager in spring application context I did not find regarding how to configure tx:jta-transaction-manager in my spring application context. My requirement is : Hibernate configuration uses JtaTransactionFactory ...

25. Propagation of Transaction context in RMI call    forum.springsource.org

Hi all Can anyone help me out here. One of my service calls uses RMI to insert data in another db. Will the RMI call also be part of XA tx ...

26. Cross context transaction    forum.springsource.org

Cross context transaction Hi, I have a problem. I have an application A which performs an operation on a database1 and invokes (by spring httpinvoker) a service (an application B) which ...

27. Testing services in a transactional context - Spring DM    forum.springsource.org

Testing services in a transactional context - Spring DM Hello , I am new to Spring Dm and I'm trying to test the services of my application. I wrote a test ...

28. Transaction is not started when two spring contexts are created during tests    forum.springsource.org

Transaction is not started when two spring contexts are created during tests It looks like a bug in Spring, but I first ask here if anybody has seen such situation. I ...

29. Should jobLauncher.run() be called from within a transactional context?    forum.springsource.org

Should jobLauncher.run() be called from within a transactional context? Hi, I don't think I'm doing anything too wrong, but with the AOP stuff flying around, I'm a little uncertain of what's ...