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

java.sql.DatabaseMetaData com::mysql::jdbc::jdbc2::optional::ConnectionWrapper::getMetaData (  )  throws SQLException [inline]

Passes call to method on physical connection instance. Notifies listeners of any caught exceptions before re-throwing to client.

Returns:
a metadata instance
Exceptions:
SQLException if an error occurs

Definition at line 203 of file ConnectionWrapper.java.

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

                                                                       {
        checkClosed();

        try {
            return this.mc.getMetaData();
        } 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