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

Spring Declarative Transaction Advice pointcut error

I am trying to implement spring's transaction management using datasaourceTransactionManager. Here is my application-context.xml
Nish
  • 31
  • 1
  • 6
0
votes
1 answer

Spring jdbc transaction manage with in two bean entity

I have use spring jdbc in our code to store data into database.There is one scenario regarding jdbc transaction manager. I want to insert data into two table like table1 and table2. First want to insert data into table1 and after that into table2,…
0
votes
1 answer

javax.ejb.EJBException when trying to inject form data into database

I'm trying to inject data into database based on form input but when I submit the form, i'm facing a nasty exception and I can't seem to be able to wrap my head around a scalable solution and I have tried many... Maybe you can help? I'm not sure…
Bic Mitchun
  • 478
  • 2
  • 9
  • 21
0
votes
1 answer

Spring jdbcTemplate Rollback for multiple database operations

I have a program that uses handler, businessObject and DAO for program execution. Control starts from handler to businessObject and finally to DAO for Database operations. For example my program does 3 operations: insertEmployee(), updateEmployee()…
0
votes
1 answer

Configuring Transaction Manager in spring boot embedded tomcat

I am using Spring boot 1.2.3 with embedded tomcat 8.0.20. In regular tomcat we can configure transaction manager in context. Example: Is there any way that I can register T/X…
0
votes
0 answers

Oracle Toplink 11g with Spring 2.5.6 Transaction Manager

We are migrating from OC4J to Weblogic. But we want to keep using Toplink in Weblogic with Spring 2.5.6. In my case, I want to join both Toplink Transaction with my own Transaction within one transaction manager. Is it possible to work Oracle…
0
votes
1 answer

DataSource connections not getting released

I am using DataSource and DataSourceTransactionManager spring beans and wiring them into JobRepository bean. Shouldn't one of these be lifecycle aware or have a close function to close the connection once my spring application is closing. My process…
0
votes
1 answer

Spring batch, Unit test, JPA Transaction and Hibernate Lazy loading : IllegalTransactionStateException

Hy guys, I want to run a spring batch job and then make some test on the data that result, but I need to use the hibernate lazy loading. So I need an opened transaction to keep the session alive. But I get this exception :…
Philippe
  • 296
  • 2
  • 12
0
votes
0 answers

Spring boot data JPA getting NullPointerException related to transaction manager

At the outset, I have tried the options mentioned in various forums for the same stack trace I get. A few of them did not work while with others (like removing javax.persistence.transactiontype) I did not understand how and where to try it. I am…
Paddy
  • 3,472
  • 5
  • 29
  • 48
0
votes
2 answers

transactionManager conflict with spring remote service

I have successfully reached(debugging) a remote service I created that will create a user in another application, however it blows up on the line applicationUserDao.save(user); with this error: java.lang.LinkageError: loader constraint violation:…
sef9110
  • 153
  • 2
  • 10
0
votes
1 answer

Why connection throw timeoutException without commit

I have a DAO class, that has method below. I call this one inside Transaction manager. When I ran it without "conn.commit()" line - it throws timeout exception, but when I ran it with this one - it is ok. What's the problem? As I know it is not…
Paul
  • 1
  • 1
0
votes
1 answer

Transactions not end when application shut down

I am working Rational Application Developer with Websphere 8.5 and I got this warning message on startup. So, when I try to debug I cannot save any object to db2 with hibernate. [8/5/14 10:12:26:026 EEST] 0000004d SharedPool I J2CA0086W:…
Cankay87
  • 3
  • 7
0
votes
1 answer

Connecting to db with spring - org.springframework.beans.factory.BeanCreationException

I want to setup a db connection over spring. Basically I am writing a program which just selects some colums from a db. For the selects I would like to use the entity manager of spring. My applicationContext.xml looks like that:
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
0
votes
1 answer

HibernateTransactionManager + Spring + update() = Session not flushing

im new to all this hibernate+spring stuff, learning it in a real project ( yeah i like doing it)... in my applicationcontext.xml i got sessionfactory and transactionManager (both using default name) set.
fferrandini
  • 101
  • 10
0
votes
1 answer

CXF Logging & cn:checks are ignored when used with

The technologies I'm using are: Apache CXF, Spring 3.x, Struts 2.x and Hibernate 3.x I'm facing a strange problem while TransactionManager with using Apache CXF. For my application I'm using CXF logging with my web-service and CN:checknames to…
1 2 3
10
11