transaction manager « Transaction « Spring Q&A





1. Spring: No transaction manager has been configured    stackoverflow.com

I've been wrestling with this problem for a while, and don't see a solution. Hope anyone can help me. I have a HibernateTransactionManager configured. However, I see the following message in the ...

2. Spring jta-transaction-manager    stackoverflow.com

Using Spring:

  1. can jta-transaction-manager use id as name so that I can pass it as REF to my service layer like below?
  2. is tx:jta-transaction-manager can only be used for je22 container? ...

3. Spring transaction manager error: Transaction MARKED_FOR_JOINED after isOpen() call    stackoverflow.com

What does the following error message mean? Googling for MARKED_FOR_JOINED doesn't return any useful information.

ERROR org.hibernate.AssertionFailure.<init>(AssertionFailure.java:47): an assertion failure occured (this may indicate a bug in Hibernate, but is more likely ...

4. What is the purpose of Managers / Transactions?    stackoverflow.com

I'm building a spring application for the first time. I'm running into lots of problems with concurrency, and I suspect that there is something wrong with the way I'm managing the ...

5. What transaction manager to use? (JPA, Spring)    stackoverflow.com

I'm developing a web application based on JPA + Hibernate, Spring and Wicket. I was wondering what's the best way of implementing transactions in my code? What transaction manager should I ...

6. How to obtain Spring transaction manager instance?    stackoverflow.com

I use annotations to mark methods which should be executed in a transaction. But, in one place I need to do transactionManager.rollback() manually, without annotation. How can I obtain transactionManager object?

7. Rollbacks with Spring's Transaction Manager    stackoverflow.com

I am using TaskExecutor class of Springs to perform asynchronous deletion of a few entries in a database.So basically the execute method of the underlying class is run as a thread ...

8. spring 3 configuration without transaction manager    stackoverflow.com

How to not use (disable) transaction manager in spring configuration? I'm doing simple app that will add rows to database, so no need in any transactions. So, is it possible configure in xml, ...

9. bitronix transaction manager    stackoverflow.com

I'm trying to migrate from JPA to JTA and use bitronix transaction manager. I'm getting below error message when try to run unit tests. According to bitronix documentation this is normal ...





10. Hibernate transaction manager configurations in Spring    stackoverflow.com

In my project I use Hibernate with programmatic transaction demarcation. Every time in my Service methods i write something similar to this.

Session session = HibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
.. perform operation here
session.getTransaction().commit();
Now i'm going to refactor ...

11. transaction is not getting roll backed with jta transaction manager    stackoverflow.com

I am new to Spring and hibernate please help, I am using (Jboss 6.0 Final as Server) org.springframework.transaction.jta.JtaTransactionManager as bean with properties set transactionManagerName as java:/TransactionManager and userTransactionName as java:comp/UserTransaction. In code I have set ...

12. Configuring transaction manager/EMF using Java config    forum.springsource.org

Configuring transaction manager/EMF using Java config Hi all, Any examples of how to configure something like the following using Spring Java configurations? Have been playing with this for a while, but ...

13. Is Spring a Transaction Manager?    forum.springsource.org

Is Spring a Transaction Manager? For an upcoming project, I will be updating multiple databases in a txn (2PC). My plan is to use JTA and WebSphere as the TM. My ...

14. Transaction Manager - Hibernate + OutputXML    forum.springsource.org

Feb 21st, 2011, 01:18 PM #1 essenitcher View Profile View Forum Posts Private Message Junior Member Join Date Feb 2011 Posts 6 Transaction Manager - Hibernate + OutputXML Hello, I've been ...

15. Transaction with external manager.    forum.springsource.org

Transaction with external manager. Hi guys, We have an architecture based around REST for simple interfaces and SOAP for more complex message interchange. A current project has VB6 code calling REST ...





17. Skipping transactional joinpoint because no transaction manager has been configured    forum.springsource.org

Skipping transactional joinpoint because no transaction manager has been configured Hello, I use annotation-based declarative transaction management and compile-time weaving within an abstract @Service class. When running my code, I see ...

18. How to synchonize transactions between a jpa and jca transaction manager    forum.springsource.org

How to synchonize transactions between a jpa and jca transaction manager Hello, I have a service which uses resources from spring`s jpa and jca transaction manager. Both of them are applied ...

19. Which transaction manager?    forum.springsource.org

I don't really get your question nor the thread title... For starters your hibernate.c3p0 properties are useless, make sure you use the correct hibernate dialect (do you use oracle9 or another ...

20. extends one transaction to many manager    forum.springsource.org

21. Configure Transaction Manager - Spring+Hibernate+TreeCache    forum.springsource.org

i am using hibernate 2.1.6 with second level cache(TreeCache). To make cache fully transactional i had set the following properties in hibernate.cfg.xml file - net.sf. hibernate.transaction.JTATransactionFactory net.sf.hibernate.transaction.WebsphereTransactionM anagerLookup ...

22. newbie question about custom transaction manager    forum.springsource.org

newbie question about custom transaction manager Hi all, I created a TransactionManager for X-Hive/DB for which there doesn't (yet) exist an implementation. I used it to experiment with programmatic and declarative ...

23. Using more than one transaction manager    forum.springsource.org

Using more than one transaction manager I'm sorry I post a wrong thread on the core container, I'm posting here, the right place My question is, I have a system with ...

24. if I use Hibernate, how can I use the JTA Transaction Manager?    forum.springsource.org

Are you using an application server or do you plan to use a standalone TM? In either way check the Spring wiki - there are some settings with JOTM (TM over ...

25. configure hibernate.transaction.manager_lookup_class    forum.springsource.org

configure hibernate.transaction.manager_lookup_class hi there, i am relatively new to spring. i was able to configure hibernate transaction using the following configuration: ...

26. transaction manager    forum.springsource.org

transaction manager I'm using the TransactionProxyFactoryBean. I found that it only works when calling a method that is not part of the calling class. For example I have class A and ...

27. How to set same transaction forTwo or more methods in manager class    forum.springsource.org

Hai all Can i have two or method,comming under the same transation. Is it possible.Currently i am working with one method calling other methods that transaction also works fine but the ...

28. Spring Transaction manager    forum.springsource.org

Hi Are there any restrictions on use of Spring Transaction manager? or scenarios where Spring Transaction manager has limitations compared to J2EE transaction manager? For example using MDBs or distributed transactions ...

29. SingleConnectionDataSource and transaction manager    forum.springsource.org

SingleConnectionDataSource and transaction manager Hi all, I really need your help. I have a web application for which I can establish only one BD connection. So SingleConnectionDataSource is used. I can ...

30. How to use Platform specific Transaction Manager in Sun App Server.    forum.springsource.org

How to use Platform specific Transaction Manager in Sun App Server. How to use Platform specific Transaction Manager in Sun App Server. I was using Websphere Transaction Manager to control the ...

31. Which Transaction Manager to use?    forum.springsource.org

Which Transaction Manager to use? Hi all, I am fairly new to Spring and developing an application that uses both Hibernate and JDBC to handle persistence. JDBC handles cases that involve ...

32. which Transaction manager to use?    forum.springsource.org

I have two implementations for DAO Interfaces, one in jdbc and the other in Hibernate. client code can choose which dao implementation they want to use and can even mixe them. ...

33. Clarify my mind about Transaction managers    forum.springsource.org

Clarify my mind about Transaction managers Hi ! My web app accesses two different databases : an Informix DB and a PostgreSQL DB. I need advises to clarify my mind about ...

34. Transaction manager    forum.springsource.org

Transaction manager I have my transaction manager setup correctly Code: bean id="txProxyTemplate" abstract="true" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> PROPAGATION_REQUIRED PROPAGATION_REQUIRED,readOnly Now ...

35. Error with Hibernate Transaction manager    forum.springsource.org

Error with Hibernate Transaction manager HI, I am getting this error when i try hit the database second time in a application. Code: - ERROR: executeAction(...) :Uncaught exception!! java.lang.NoSuchMethodError: org.springframework.orm.hibernate3.HibernateTransactionManager.determineTimeout(Lorg/springframework/transaction/TransactionDefinition;)I at ...

36. XA Transaction Manager    forum.springsource.org

Has anybody done Distributed txs. with Spring? What JTA implementation did you use? I've tried JTOM, but it just seems to me that there is not much going on there. The ...

37. Webshere transaction manager incompatible with javax.TransactionManager    forum.springsource.org

Webshere transaction manager incompatible with javax.TransactionManager Hi all, I'm developing a spring and hibernate based persistence layer that could be used with or without a J2ee container. The framework could be ...

38. Which transaction manager are you using?    forum.springsource.org

Apr 25th, 2007, 11:17 AM #1 Alef Arendsen View Profile View Forum Posts Private Message Visit Homepage Senior Member Spring Team Join Date Aug 2004 Location Amsterdam, Netherlands Posts 450 Which ...

39. Spring and JPA - how to configure a transaction manager?    forum.springsource.org

Spring and JPA - how to configure a transaction manager? Could someone tell me how I enable a transaction when using Spring and JPA. I followed the IBM tutorial: http://www.ibm.com/developerworks/ed...spring2-i.html and ...

40. How do I use @Transactional with 2 Transaction Managers    forum.springsource.org

Here is my scenario: We connect to two databases using Hibernate and currently we have configured two data sources using two local hibernate transaction managers. Even though we may use both ...

41. open source transaction manager across vms?    forum.springsource.org

Are there an open source transaction managers that work across vms? Atomikos doesn't, do any of the others? Just trying to save some research time. Thanks in advance, Jay

42. Hibernate, Transaction Manager and Release mode    forum.springsource.org

Hibernate, Transaction Manager and Release mode I am using spring and hibernate on a fairly large enterprise application. I have configured the transaction demarcation via aspects. My config file looks like... ...

43. Transaction manager help....    forum.springsource.org

Oct 2nd, 2007, 04:01 AM #1 suprie View Profile View Forum Posts Private Message Junior Member Join Date Oct 2007 Posts 1 Transaction manager help.... hey, i'm suprie im newbie and ...

44. JTA Transaction Manager Question    forum.springsource.org

JTA Transaction Manager Question I am using Spring 2.0.6 and Hibernate 3.2.x on JBoss 4.0.5. I am working on a JPA application; the application works fine when I use the JpaTransactionManager, ...

45. Which Transaction manager to use    forum.springsource.org

Which Transaction manager to use All, This question is related to usage of a Transaction Manager with SpringWS. Iam working on integrating a Spring MVC based framework which consumes webservices .Iam ...

46. Which Transaction Manager to Use.    forum.springsource.org

Which Transaction Manager to Use. All, This question is related to usage of a Transaction Manager with SpringWS. Iam working on integrating a Spring MVC based framework which consumes webservices .Iam ...

47. Transaction Manager issue    forum.springsource.org

Hi All, I think you may know this but I like to share with you all.. In spring normaly we use this code for transaction manager:- DefaultTransactionDefinition td = new DefaultTransactionDefinition(); ...

48. tx:jta-transaction-manager    forum.springsource.org

49. Transaction manager integration    forum.springsource.org

I have a legacy transaction manager which I'm trying to integrate with Spring transactions using @Transactional and org.springframework.jdbc.datasource.DataSourceTran sactionManager. I can't completely rip out the old implementation in one fell swoop. ...

50. hibernate transaction manager and load balancing    forum.springsource.org

The transactions are managed by the database, so if concurrent transactions work well on a single node, they should work well on multiple nodes. ps: eventually the database is going to ...

51. Use JTA transaction manager outside container    forum.springsource.org

We have a use case: - We need to write a batch job to process on Datasource A (DsA) - Our SB job repository is also on DsB. In this case, ...

52. Using different transaction manager for job repository    forum.springsource.org

Hi all, Just wanted to know if anyone has used/configured a different transaction manager for the spring batch job repository. My use case is to replace the spring transaction manager and ...

53. Should all managers be transactional?    forum.springsource.org

Should all managers be transactional? I'm using Spring with mostly Hibernate for persistence & Ehcache for caching in a web application. I commonly get lazy-initialization errors (for seemingly various reasons) but ...

54. Transaction Manager in Persistence.xml out side jee    forum.springsource.org

is it possible to define a transaction manager in persistence.xml that will operate out side jee server? i'm trying to achieve the most abstract definetions possible with jpa, before i beging ...

55. Selecting JPA Transaction Manager At Runtime    forum.springsource.org

Selecting JPA Transaction Manager At Runtime If there are 2 databases (configured as 2 data sources, 2 entity manager factories) but only one is ever in use at any time in ...

56. Selecting JPA Transaction Manager At Runtime    forum.springsource.org

Selecting JPA Transaction Manager At Runtime If there are 2 databases (configured as 2 data sources, 2 entity manager factories) but only one is ever in use at any time in ...

57. Using more than one tx manager with @Transactional    forum.springsource.org

Using more than one tx manager with @Transactional Here's my problem..I have two sessionFactory(ies) , two Tx managers - one for each sessionfactory each one having a different data source. I ...

58. No Transaction manager has been configured    forum.springsource.org

No Transaction manager has been configured Hi all, I've been wrestling with this problem for a while, and don't see a solution. Hope anyone can help me. I have a HibernateTransactionManager ...

59. spring transaction manager    forum.springsource.org

spring transaction manager i am usging HibernateTransactionManager for transaction management.and in application logic i get curresnt session by SessionFactoryUtils.getSession which gives me curresnt session. Actualy in My DAO i always call ...

60. Spring Not Seeing Transaction Manager    forum.springsource.org

Jun 9th, 2009, 04:41 PM #1 nezzy View Profile View Forum Posts Private Message Junior Member Join Date Jun 2009 Posts 16 Spring Not Seeing Transaction Manager Hi, I have been ...

61. Having troubles with JTA transaction manager    forum.springsource.org

Jul 21st, 2009, 05:36 PM #1 roykachouh View Profile View Forum Posts Private Message Member Join Date Jul 2007 Posts 33 Having troubles with JTA transaction manager Hello, I am having ...

62. Hibernate Transaction Manager doubt.    forum.springsource.org

Hibernate Transaction Manager doubt. Hello, Im having some dificult to understand the Transaction Interceptor in the following scenario... I have a Method which calls 2 other methods which are transactional... as ...

63. JPA with JTA : which transaction manager should I use ?    forum.springsource.org

I'm using JPA with transaction-type = JTA, and I'm wondering how I must define the transactionManager bean: JtaTransactionManager (or in my particular case, WebsphereUowTransactionManager) JpaTransactionManager My first thought would be to ...

64. How many transaction manager available?    forum.springsource.org

Hi guys i got some information about transaction manager types below is the list i got DataSourceTransactionManager HibernateTransactionManager JdoTransactionManager JtaTransactionManager is there any other transaction manager available ? i again got ...

65. Cannot locate BeanDefinitionParser for element jta transaction manager    forum.springsource.org

Feb 16th, 2010, 07:36 AM #1 fez001 View Profile View Forum Posts Private Message Junior Member Join Date Jan 2010 Posts 26 Cannot locate BeanDefinitionParser for element jta transaction manager Hi ...

66. URGENT- 2 dispatcherservlet and one transaction manager possibility    forum.springsource.org

Hi can anyone please let me know whether i can have 2 dispatcherservlet and a single transaction manager for both? If yes, can you let me know as to where should ...

67. Java Transaction Manager Recommendation    forum.springsource.org

There's a possibility that I maybe putting JTA that supports transaction across different datasources. Unfortunately, I am not using any server that provides JTM like weblogic/websphere. I did see Bitronix that ...

68. Which transaction manager are you using?    forum.springsource.org

Which transaction manager are you using? THIS POLL HAS BEEN CLOSED. FUTURE POLLS WILL TAKE PLACE ON WWW.SPRINGFRAMEWORK.ORG -- As a follow-up on the last poll on transaction management, we'd like ...

69. Implementing transaction manager for cassandra    forum.springsource.org

Implementing transaction manager for cassandra Hi all, We're building an app with Spring on top of the Cassandra storage tier. I wasn't able to find any transaction managers that are implemented ...

70. why spring3+ibatis3 Transaction manager has no effect?    forum.springsource.org

why spring3+ibatis3 Transaction manager has no effect? i use spring manage the Transaction and add the Transaction manager into the service class ,but the transaction do not rollback the config: Code: ...

71. JTA Transaction Manager issues    forum.springsource.org

Nov 3rd, 2010, 11:28 AM #1 maya View Profile View Forum Posts Private Message Member Join Date Oct 2010 Posts 42 The chosen transaction strategy requires access to the JTA TransactionManager ...

72. Hibernate Transaction Manager not honouring @Transactional    forum.springsource.org

Hibernate Transaction Manager not honouring @Transactional Hi, I've configured a new dataSource & transactionManager bean as I wish to use Hibernate. I see the following in the logs when my app ...

73. having custom transaction manager    forum.springsource.org

having custom transaction manager hi, I am quite new to spring integration/ activeMQ. We have the below scenario 1. master queue (active MQ) which is mapped to a master-channel 2. This ...