JDBC error in SQLServer connection

Posted on 2005-04-03
Medium Priority
Last Modified: 2008-01-09

m_BDConexion = DriverManager.getConnection("

I'm trying so execute some SQL instructions, but for commiting or rollbacking this instructions i'm using Transactions (savePoint), like this

try {
            return m_BDConexion.setSavepoint("transaccion");
 } catch (SQLException e) {

when this instruction is executed, generates this error:

Exception occurred during event dispatching:
java.lang.AbstractMethodError: com.microsoft.jdbc.sqlserver.SQLServerConnection.setSavepoint(Ljava/lang/String;)Ljava/sql/Savepoint;
      at ...

What it could be?

Question by:accarvajal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 13692222
which version of JDK you are using is it older than 1.4?
LVL 15

Expert Comment

ID: 13692286
Your jdbc driver, com.microsoft.jdbc.sqlserver.SQLServerDriver,  is not compatible with  JDBC 3.0 (that comes with 1.4 and above).
You might want to look at: http://forum.java.sun.com/thread.jspa?threadID=223454&start=0&tstart=0
"Re: Microsoft SqlServer JDBC Driver" which suggest having a newer driver from http://www.datadirect-technologies.com/jdbc/connectjdbc/jpxconnectjdbc.asp
LVL 14

Expert Comment

ID: 13692318
In other words the feature You are trying to use is not implemented in the current driver version.

Accepted Solution

orhanbaba earned 80 total points
ID: 13693209
use this driver http://jtds.sourceforge.net it is better than ms driver you can find the score on this site

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
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 …
Suggested Courses
Course of the Month11 days, 2 hours left to enroll

770 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