Solved

JDBC error - Access -Operation invalid on setAutoCommit

Posted on 2000-02-26
2
213 Views
Last Modified: 2012-05-04
I am using Access (jdbc-odbc bridge) and Oracle (Thin driver) to connect to these databases.

But, at one particular point in my application , when i do :

con.setAutoCommit(false);
where con is an Connection object.

I get the msg :
[Microsoft][ODBC Microsoft Access 97 Driver]Operation invalid at this time.

This happens only when i am connected to Access DB, not when i use Oracle DB connection.

Why is this so ?
0
Comment
Question by:Jitu
2 Comments
 

Accepted Solution

by:
VAlain earned 25 total points
ID: 2561345
Hello,

As far as I know, Access 97, and especially its ODBC drivers, don't know about the concept of "Transactions". That's why the function call returns an error.
0
 
LVL 7

Expert Comment

by:Ravindra76
ID: 2567385

Why won't U ask it in database section?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java 8 to Java 6 8 32
restrict decimal places for double datatype 10 29
Html split(text) 2 25
Java array 21 75
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question