Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
| Search | Today's Posts | Mark Forums Read
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 28th, 2005, 06:03 AM
Registered User
 
Join Date: Oct 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ERROR: SET AUTOCOMMIT TO OFF is no longer support

I have the following error when I try to start a transaction with a postgres database.

java.sql.SQLException: ERROR: SET AUTOCOMMIT TO OFF is no longer supported

My code has a wonderful behaviour until a few moments. The only thing that I made is to install JBoss. The code always works fine with Tomcat 5.0 with jdbc and spring. Althought I have installed JBoss it´s not running.

The part of code in SQLException is thrown:

      DefaultTransactionDefinition def = new DefaultTransactionDefinition();
      def.setPropagationBehavior(TransactionDefinition.P ROPAGATION_REQUIRED);

      PlatformTransactionManager ptm = transactionTemplate.
                                                        getTransactionManager();
      TransactionStatus status = ptm.getTransaction(def);

Please for your help anybody





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error-Object does not support doesn't support this bootsy Classic ASP Basics 1 May 25th, 2008 07:14 PM
Rollback in trigger??? (explicit/autocommit) edvin SQL Server 2005 2 April 20th, 2008 05:28 PM
error 'File format no longer supported' Kris DExelle VB Components 2 May 15th, 2006 05:10 PM
Class doesn't support automation error clueless_may Access VBA 6 November 2nd, 2004 12:41 PM
Error: Object is no longer valid. Daniel Schaffer Classic ASP Databases 1 March 28th, 2004 11:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.