RMI - Setautocommit(false) problems
I am having trouble with using the Setautocommit(false) option.
Here is the part of the code...
con = DriverManager.getConnection("jdbcdbc:CS532_Sqlserver_Team_04","vvelagala",
statement = con.createStatement();
This is part of a Remote interface procedure. When running the application
I am getting error saying [odbc access driver error]. If I remove the setautocommit
statement or set it to true it works fine.
[The reason for doing this, I do not want the commit to happen automatically.
I am trying to implement a two-phase commit].
Can anyone help me with this..
Thanks and your help is appreciated.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL