0 Replies Latest reply on Jan 30, 2006 6:02 PM by omar jose

    Incompatibility between PoolCallableStatement and CallableSt

    omar jose Newbie

      Hi there!!

      I have a legacy app under tomcat that used this way of calling and stored procedure:

      CallableStatement stmt = conn.prepareCall("BEGIN proc_pa_baja_usuario(?,?); END;");

      When We migrated this app to Resin with Primrose, We had to change the code because it didn't work:

      PoolCallableStatement stmt = (PoolCallableStatement)conn.prepareCall("BEGIN proc_pa_baja_usuario(?,?); END;");
      At this point, I whish to know Why this line of code doesn't work under Jboss/Tomcat app server

      PoolCallableStatement stmt = (PoolCallableStatement)conn.prepareCall("BEGIN proc_pa_baja_usuario(?,?); END;");