jQuery in Action, 3rd edition
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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
at com.ibm.ws.rsadapter.spi.WSStatementCache.reallyPrepareStatement(WSStatementCache.java:360)

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: http://aspose.com/file-tools
subject: AbstractMethodError
jQuery in Action, 3rd edition