Solved

JDBC error - Access -Operation invalid on setAutoCommit

Posted on 2000-02-26
2
211 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
rhino JavaScript import, load 25 84
reverse digits of a number using for loop 5 42
web application structure 18 77
how to see all occupied ports on windows 10 laptop 15 65
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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 how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

810 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