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.

- Vishnu