aspose file tools*
The moose likes JDBC 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
Bookmark "AbstractMethodError" Watch "AbstractMethodError" New topic
Author

AbstractMethodError

Carlo Smits
Greenhorn

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?
Thanks,
Carlo Smits
-----------------exception---------------
[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)

------------------------------code-------------------
Connection con = null;
PreparedStatement ps = null;
try
{
con = getConnection();
ps = con.prepareStatement("SELECT * FROM DB2ADMIN.ORDERINHOUD");
}
tapan maheshwari
Greenhorn

Joined: Oct 31, 2003
Posts: 4
you might be using old version of JDBC driver.
 
 
subject: AbstractMethodError
 
Similar Threads
AbstractMethodError while doing prepareCall()
AbstractMethodError
AbstractMethodError
AbstractMethodError: prepareStatement
java lang AbstractMethodError: