Typical XML for hooking up a transaction manager in Spring looks like:
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="myDataSource" />
</bean>
<bean id="myDataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
.... properties go here ...
|
Jan 5th, 2011, 08:07 PM #1 sidnag0 View Profile View Forum Posts Private Message Junior Member Join Date Nov 2010 Posts 9 Processor call hangs with requires_new with DataSourceTransactionManager Hi iam ... |
DataSourceTransactionManager wont rolling back I am using DataSourceTransactionManage for writing into two tables. I made the connection object null before I insert into the second table to see if the operation ... |
I using Spring to do straight JDBC and I'm looking for an example of how to use DataSourceTransactionManager. Confused about doBegin() DefaultTransactionStatus etc... Thank you |
Apr 21st, 2006, 01:06 PM #1 car_lost View Profile View Forum Posts Private Message Junior Member Join Date Nov 2004 Posts 12 ORA-01453 when using DataSourceTransactionManager I am using Springs DataSourceTransactionManager ... |
|
Performance Problem using DataSourceTransactionManager I switched our existing framework to Spring now. We use an own data mapping system, which is working quite well the last years. It's similar to iBatis. ... |
|
DataSourceTransactionManager not rolling back Hello, I'm trying to test my transactions using Programmatic transaction. When I use a DataSourceTransactionManager, when I do my testing as a standalone java application, the transaction ... |
Ibatis with Spring's DataSourceTransactionManager Hi all, We are going to use IBatis with Spring's dataSourceTransactionManager. In the spring reference, I don't have to set an specific methods for the datasourceTransactionManager (you ... |
JDBC exception while using DataSourceTransactionManager Hi, Am using DataSourceTransactionManager. Its a single database. I did not face any issues when was configuring the DB url, username and pwd in the beans.xml ... |
Sep 21st, 2008, 07:20 AM #1 showmanlkz View Profile View Forum Posts Private Message Junior Member Join Date Jul 2008 Posts 16 DataSourceTransactionManager error: CannotCreateTransactionException on MySQL Hi guz, I built ... |
DataSourceTransactionManager doesn't commit Hi, I've been learning to work with spring for the past few days and I've done the Spring-MVC-step-by-step tutorial, but it gives me a problem with the transactions. ... |
problem with DataSourceTransactionManager I met a problem with DataSourceTransactionManager (already resolved, but i don't know why). I have a simple application use one C3p0 pooled datasource and set its maxSize to ... |
How can I work transactionally by using DataSourceTransactionManager ? Hi everybody. I realized a JDialog based application that allows to send SQL commands (CRUD) to manage data in a simple Oracle ... |
Apr 20th, 2010, 04:44 PM #1 hneiper View Profile View Forum Posts Private Message Visit Homepage Junior Member Join Date Oct 2004 Location Houston Posts 8 DataSourceTransactionManager fails to commit It ... |