Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

java.sql.PreparedStatement com::mysql::jdbc::jdbc2::optional::ConnectionWrapper::prepareStatement ( String  arg0,
int  arg1,
int  arg2,
int  arg3 
) throws SQLException [inline]

See also:
Connection::prepareStatement(String, int, int, int)

Definition at line 582 of file ConnectionWrapper.java.

References com::mysql::jdbc::jdbc2::optional::WrapperBase::checkAndFireConnectionError().

                                                {
        checkClosed();

        try {
            return new PreparedStatementWrapper(this, this.mpc,
                this.mc.prepareStatement(arg0, arg1, arg2, arg3));
        } catch (SQLException sqlException) {
            checkAndFireConnectionError(sqlException);
        }

        return null; // we don't reach this code, compiler can't tell
    }


Generated by  Doxygen 1.6.0   Back to index