aspose file tools
The moose likes JDBC and the fly likes AbstractMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: AbstractMethodError
 
Similar Threads
AbstractMethodError: prepareStatement
AbstractMethodError
AbstractMethodError while doing prepareCall()
AbstractMethodError
java lang AbstractMethodError: