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. ... |
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 ... |
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: ... |
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 ...
|
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 ...
|
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 ... |
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 ... |
|
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 ... |
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 ... |
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 ... |
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. ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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. ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |
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 ... |