1 Reply Latest reply on Mar 28, 2002 10:44 AM by roysun

    java.lang.AbstractMethodError

    roysun Newbie

      When I call a cmp bean to access Postgres db I got following exception. Env: Jboss3.0 alpha, jdbc7.1-1.1.jar. With the env. jdbc call works fine. What is the reason? Help please.

      Roy

      java.lang.AbstractMethodError: org.postgresql.jdbc1.Connection.prepareStatement(Ljava/lang/String;II)Ljava/sql/PreparedStatement;

        • 1. Re: java.lang.AbstractMethodError
          roysun Newbie

          I am using Postgres 7.x. I guess it is configuration problem. I could through Session bean call directly to Postgres using jdbc. Also I could use cmp entity bean call Hypersonic which is default jboss db. That means both jdbc connection and entity bean work fine, but separately. However, if setup Postgres as default db and through cmp entity bean it causes AbstractMethodError.

          Thanks for help in advance.

          Roy