2 Replies Latest reply on Jan 31, 2002 9:44 AM by Fred Hooey

    Unable to create PreparedStatement with DB2

    Michael Collins Newbie

      I am using JBoss-2.4.3_Tomcat-3.2.3 with DB2 7.1 running on a different server. I have configured the pool setting in jboss.jcml and the pool is being created at startup.

      When I make a call to my session EJB, it obtains the data source using JNDI, obtains a connection to the data source, and then calls connection.prepareStatement() to create a PreparedStatement object.

      I am getting a SQLException that only says "Unable to create PreparedStatement!" Does anyone know anything that I can try to resolve this?

      Thanks