sql « Transaction « Spring Q&A





1. Spring.Net support for Linq2SQL    stackoverflow.com

May I know whether Spring.Net has built in support for Linq2SQL? Someone on Spring.Net forum mentioned there is a bridge for NHibernate. However, I might not use NHibernate at all. I ...

2. Transaction with two sql insert    stackoverflow.com

I have two sql insert to do (say for examples in tables A and B), they are in a transaction because I want the database to remain consistent, that is, a ...

3. Spring transaction not committing    stackoverflow.com

I'm having a strange problem with my transactions not committing in spring. After profiling the database it looks like spring is committing the transaction before it starts? Here is what I ...

4. Spring 3.0: SQL not commited when exception is thrown    stackoverflow.com

I am working on a Java - Spring 3.0 - Hibernate Annotations app. Everything worked ok until I switched to another MySql database server. In the first one, when an exception was thrown, ...

5. Spring 3.0.5 + hibernate 3.6 hibernate.show_sql not showing.Is it due to use of transaction?    stackoverflow.com

i have a small maven project with

            <artifactId>spring-core</artifactId>
            ...

6. Why can't I make this bean @Transactional in Spring?    stackoverflow.com

I'm writing a simple bean that I want to configure with a table name, an XML file with some data, so that if at application startup the table is empty it ...

7. Spring Batch Transaction commit outside commit interval    stackoverflow.com

I implemented a spring batch framework with reader, processor, writer. the batch framework initiates a transaction and commit interval is for every 50 records say. Now within my reader or processor if ...

8. How can I test database transaction logic?    stackoverflow.com

I often find error handling is one of the hardest things to test. Thankfully with dependency injection and mocking frameworks it's getting much easier. However, I'm still having trouble ...

9. Hibernate Template with Transactions    stackoverflow.com

I have a java/spring webapp which uses HibernateTemplate and I was wondering if it was possible to use SQL transactions with hibernate template. For example, suppose that I have the following dao ...





10. SQL Server exclusive row lock (XLOCK ROWLOCK) using Spring Transactions using Hibernate    stackoverflow.com

I am attempting to do a select on a row and update the value. While I do this I need exclusive access to the row. In other words, no ...

11. Spring Transactions with Hibernate and SQL best practice    stackoverflow.com

We are currently using Spring MVC to implement REST web services. We now want to implement some kind of data persistence, and I am looking at what the options are. Spring ...

12. SQLServer Express: transactionid changes inside a transaction, commit is wrong    forum.springsource.org

SQLServer Express: transactionid changes inside a transaction, commit is wrong Hi all, we have a webapplication made with JDK 1.4, Struts 1.3.10, Spring 2.0.6, and iBatis 2.3.0 for data mapping. It ...

13. JPA + @Transactional - After Rollback, SQL Querys seems to be pendent?    forum.springsource.org

Apr 7th, 2011, 11:03 AM #1 EduFrazao View Profile View Forum Posts Private Message Junior Member Join Date Apr 2011 Posts 3 JPA + @Transactional - After Rollback, SQL Querys seems ...

14. MSSQL locking    forum.springsource.org

Nov 4th, 2004, 02:03 AM #1 alesj View Profile View Forum Posts Private Message Visit Homepage Senior Member Join Date Aug 2004 Location Vrhnika, Slovenia Posts 133 MSSQL locking Since there ...

15. SQL operations are not allowed with no global transaction    forum.springsource.org

May 13th, 2005, 07:13 AM #1 tanmay_ambre View Profile View Forum Posts Private Message Junior Member Join Date May 2005 Posts 2 SQL operations are not allowed with no global transaction ...

16. Confused with Hibernate transactions and order of SQL exection    forum.springsource.org

Confused with Hibernate transactions and order of SQL exection I have some interesting synchronization requirements I need to guard against. Basically, I have open "slots" that people (basic users) belonging to ...





17. Executing custom SQL after BEGIN and before COMMIT and ROLLBACK    forum.springsource.org

Executing custom SQL after BEGIN and before COMMIT and ROLLBACK Hi! I need to execute custom SQL after BEGIN and before COMMIT and ROLLBACK. Following previous threads in this forum (using ...

18. Usage of plain javax.sql.DataSource in XA transactions    forum.springsource.org

Hi, I wonder if it is possible to use plain javax.sql.DataSource in XA transactions by just making it transaction aware. The Javadoc mentions This proxy allows data access code to work ...

19. Transactions do not rollback using MS SQL 2005    forum.springsource.org

Oct 4th, 2007, 02:03 PM #1 rm2132 View Profile View Forum Posts Private Message Junior Member Join Date Oct 2007 Posts 3 Transactions do not rollback using MS SQL 2005 Hello, ...

20. Rollback not rolling back! SQLServer & AbstractTransactionalDataSourceSpringContextT    forum.springsource.org

Rollback not rolling back! SQLServer & AbstractTransactionalDataSourceSpringContextT Looks like I have hit the same problem as a previous poster who didn't get a solution (http://forum.springframework.org/showthread.php?t=43519). Hopefully if I try posting again ...

21. SQL transaction problem    forum.springsource.org

SQL transaction problem hey guys hello i have a problem with spring batch my batch job consists of two steps: StepA and StepB. StepA includes an update SQL to TableX StepB ...

22. SQL Datasource and Spring transaction manager    forums.smartclient.com