File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes AbstractMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "AbstractMethodError" Watch "AbstractMethodError" New topic


Carlo Smits

Joined: Jul 09, 2001
Posts: 22
Hi, I am getting an AbstractMethodError when trying to get a PreparedStatement from a connection. Does anyone know whats is the cause of this?
Carlo Smits
[10/28/03 12:04:09:188 CET] 18458e51 ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "getKop" on bean "BeanId(Porrel1Project#Porrel1ProjectEJB.jar#Porrel1Data, null)". Exception data: java.lang.AbstractMethodError: COM/ibm/db2/jdbc/app/DB2Connection.prepareStatement

Connection con = null;
PreparedStatement ps = null;
con = getConnection();
ps = con.prepareStatement("SELECT * FROM DB2ADMIN.ORDERINHOUD");
tapan maheshwari

Joined: Oct 31, 2003
Posts: 4
you might be using old version of JDBC driver.
I agree. Here's the link:
subject: AbstractMethodError
It's not a secret anymore!