Solved

invalid transaction state

Posted on 2002-07-12
4
596 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

24 Experts available now in Live!

Get 1:1 Help Now