Questions tagged [transactionmanager]

A transaction manager is the part of an application that is responsible for coordinating transactions across one or more resources.

A transaction manager is the part of an application that is responsible for coordinating transactions across one or more resources. The concept of transaction manager is common to many persistence frameworks.

See:

164 questions
0
votes
1 answer

How to programmatically get PlatformTransactionManager of a DAO?

I am developing a generic CRUD app with wicket , that can edit any Spring/JPA entities with a AbstractDao pattern's implementation , such as UserDaoImpl , ForumDaoImpl ...etc In my wicket page : I have to use @SpringBean to identify which…
smallufo
  • 11,516
  • 20
  • 73
  • 111
0
votes
1 answer

spring multiple transactionmanagers for similar datasources

I have two datasources that are equal in their structure but not in their Data. My application has to deal with both of them at the same time. I have controller, servie, dao structure that looks like this. Controller Modell: @Controller public…
lars-2A
  • 3
  • 2
0
votes
0 answers

TransactionManager Websphere vs Weblogic

We have migrated an internal system from Weblogic to Websphere and it has been noticed that the weblogic implementation of the TransactionManager would flush the commands to the database immediately when commiting a nested transaction. In the other…
0
votes
1 answer

com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory cannot be cast to org.hibernate.resource.transaction.TransactionCoordinatorBuilder

Trying to connect two different datasources with the Atomikos transaction manager getting the below error Caused by: java.lang.ClassCastException: com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory cannot be cast to…
user5008345
0
votes
2 answers

How to configure Two Data Sources to single Transaction manager using Spring JTA,So that on the exception Both of the data sources get rolled back

I would like to configure the two Data sources one is Oracle and one is My-SQL to the Transaction Manager in the Spring JTA to perform the 2 phase commit so that any one transaction of the any of the Data sources get failed and the spring JTA needs…
user5008345
0
votes
1 answer

TransactionManager for OFBIZ on Websphere 8.3

We are migrating an application from Weblogic to Websphere application server, this application is build over an old version of Apache OFBIZ and we are having trouble to acquire an TransactionManager to bind to OFBIZ. Our attempt at the moment is…
Roger that
  • 442
  • 6
  • 21
0
votes
1 answer

How to use transaction advisors with annotations?

supose I have the following example: @Transactional(propagation=Propagation.SUPPORTS, readOnly=true) public class MyServiceImpl implements MyService { ... @Transactional(propagation=Propagation.REQUIRED, readOnly=false) public…
Neuquino
  • 11,580
  • 20
  • 62
  • 76
0
votes
1 answer

Transaction not getting rolled back with DataSourceTransactionManager and JDBCTemplate

Here are the details - Using JDBCTemplate for query execution. Configuration of required classes in spring application context file is as follows -
0
votes
1 answer

Integration of hibernate transaction in jta transaction manager

In my standalone java application, jms and hibernate are used for fulfilling my requirements. I used the JTA transaction manager for the transaction management purposes. Can i enlist the XAResource for the hibernate and jms in the jta transaction to…
Shamnad
  • 384
  • 5
  • 16
0
votes
1 answer

@Transactional in @Entity doesn't work?

Going further into Hibernate i've stumbled upon the following situation: I have an @Entity Person @Entity @Table(name = "PERSON") @Inheritance(strategy =…
0
votes
1 answer

Error creating bean with name 'transactionManager' :nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/

SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/springrest-servlet.xml]: Invocation of init method failed;…
cells
  • 143
  • 1
  • 5
  • 15
0
votes
1 answer

how to stop Action Manager Trigger?

Am using trigger code var rotate = function (mesh) { mesh.actionManager = new BABYLON.ActionManager(scene); scene.actionManager.registerAction(new…
vishnuajan
  • 59
  • 1
  • 1
  • 9
0
votes
2 answers

TomEE disable TransactionManager defaultTransactionTimeout?

Is there a way to disable the timeout wihtout getting rid of the transaction manager in TomEE? My sample transaction manager from tomee.xml is: adler32Checksum = true …
Hassan Jamil
  • 1,270
  • 1
  • 11
  • 15
0
votes
1 answer

Multiple Sharded Databases Hibernate Transactions

I have a spring based tomcat service. I use annotations based hibernate mapping and I have multiple sharded databases. All the sharded databases have same tables say Student. I want to implement transaction on them using @Transactional…
Amit
  • 153
  • 3
  • 12
0
votes
1 answer

How to configure Single transaction manager for multiple Datasources(three oracle dbs)?

My Project is in Spring Batch. I am using three transaction manager for three different datasources.Here, I am facing a problem that if failure occurs in one of the db persistence , Rollback will be done only on that datasource, not on the other two…