Solved

invalid transaction state

Posted on 2002-07-12
4
599 Views
Last Modified: 2012-06-27
Hi All,
I am using JDBC in a JSP page to query a MS Access DB.
I get an error:
"sql error in con.close:java.sql.SQLExcelption: [Microsoft][ODBC Microsoft Access Driver]Invalid transaction state"

What does this mean?
And how do I fix this?

TIA DoughBoy

0
Comment
Question by:DoughBoy
  • 2
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 7167297
Can you post your code thats making the JDBC call.
0
 

Author Comment

by:DoughBoy
ID: 7169961
Hi All,
I solved thr poblem myself. It had to do with getting rid of the statement to "setAutoCommit(false).
Thanks anyway,
DoughBoy
0
 

Expert Comment

by:modulo
ID: 7592085
Hi DoughBoy,

I see you can have this Q closed, I also see that there are 13 other rather old Q's waiting for an answer.
Can you please check them in your user profile and:
1) Reward an expert that gave the correct answer or
2) Ask with a zero points Q at: http://www.experts-exchange.com/Community_Support/ to finalize Q's like these

I'll check upon your actions after 72 hrs.

modulo

Community Support Moderator
Experts Exchange
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 7609314
PAQ'd and points refunded.

Please check your other Q's too !

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now