avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Romagnoli" <aromagn...@mokabyte.it>
Subject error on source of exalibur 4.1
Date Tue, 23 Apr 2002 08:42:53 GMT
hello

i have download source of exalibur 4.1 
on compiling it i have found an error in class Jdbc3Connection on packages org.apache.avalon.excalibur.datasource
on following function:

    public final Statement createStatement(int resulSetType,
                                           int resultSetConcurrency,
                                           int resultSetHoldability)
        throws SQLException
    {
        final Statement temp = m_connection.createStatement(
                resultSetType, resultSetConcurrency, resultSetHoldability
        );

        m_lastUsed = System.currentTimeMillis();
        return temp;
    }

    public final PreparedStatement prepareStatement(String sql,
                                        int resulSetType,
                                        int resultSetConcurrency,
                                        int resultSetHoldability)
        throws SQLException
    {
        final PreparedStatement temp = m_connection.prepareStatement(
            sql, resultSetType, resultSetConcurrency, resultSetHoldability
        );

        m_lastUsed = System.currentTimeMillis();
        return temp;
    }

    public final CallableStatement prepareCall(String sql,
                                        int resulSetType,
                                        int resultSetConcurrency,
                                        int resultSetHoldability)
        throws SQLException
    {
        final CallableStatement temp = m_connection.prepareCall(
            sql, resultSetType, resultSetConcurrency, resultSetHoldability
        );

        m_lastUsed = System.currentTimeMillis();
        return temp;
    }

where argument of function is resulSetType, instead of resultSetType



best regards

Andrea Romagnoli




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message