0 Replies Latest reply on Sep 10, 2001 6:51 PM by bhtek

    org.jboss.pool.connector.jdbc.ConnectionInPool

    bhtek

      Anyone have any idea why JBoss's pool package
      overrides the prepareStatement and throw
      away the resultSetType, and resultSetConcurrency
      parameters? But it keeps it for prepareCall?!

       public PreparedStatement prepareStatement( String sql, int resultSetType, int resultSetConcurrency )
       throws SQLException {
       return prepareStatement( sql );
       }
      
       public CallableStatement prepareCall( String sql, int resultSetType, int resultSetConcurrency )
       throws SQLException {
       if ( con == null ) {
       throw new SQLException( CLOSED );
       }
       try {
       return con.prepareCall( sql, resultSetType, resultSetConcurrency );
       } catch ( SQLException e ) {
       setError( e );
       throw e;
       }
       }