Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AbstractMethodError

 
Carlo Smits
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you might be using old version of JDBC driver.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic