Java Code Examples for com.mysql.jdbc.Field

The following examples show how to use com.mysql.jdbc.Field. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: r-course   Source File: JDBC4DatabaseMetaDataUsingInfoSchema.java    License: MIT License 5 votes vote down vote up
/**
 * Redirects to another implementation of #getProcedureColumns. Overrides
 * DatabaseMetaDataUsingInfoSchema#getProcedureColumnsNoISParametersView.
 * 
 * @see DatabaseMetaDataUsingInfoSchema#getProcedureColumns
 * @see DatabaseMetaDataUsingInfoSchema#getProcedureColumnsNoISParametersView
 */
protected ResultSet getProcedureColumnsNoISParametersView(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
        throws SQLException {
    Field[] fields = createProcedureColumnsFields();

    return getProcedureOrFunctionColumns(fields, catalog, schemaPattern, procedureNamePattern, columnNamePattern, true,
            conn.getGetProceduresReturnsFunctions());
}
 
Example 2
Source Project: r-course   Source File: JDBC4DatabaseMetaData.java    License: MIT License 5 votes vote down vote up
/**
 * Changes in behavior introduced in JDBC4 when #getFunctionColumns became available. Overrides
 * DatabaseMetaData#getProcedureColumns
 * 
 * @see DatabaseMetaData#getProcedureColumns
 * @since 1.6
 */
public java.sql.ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
        throws SQLException {
    Field[] fields = createProcedureColumnsFields();

    return getProcedureOrFunctionColumns(fields, catalog, schemaPattern, procedureNamePattern, columnNamePattern, true,
            conn.getGetProceduresReturnsFunctions());
}
 
Example 3
/**
 * Redirects to another implementation of #getProcedureColumns. Overrides
 * DatabaseMetaDataUsingInfoSchema#getProcedureColumnsNoISParametersView.
 * 
 * @see DatabaseMetaDataUsingInfoSchema#getProcedureColumns
 * @see DatabaseMetaDataUsingInfoSchema#getProcedureColumnsNoISParametersView
 */
protected ResultSet getProcedureColumnsNoISParametersView(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
        throws SQLException {
    Field[] fields = createProcedureColumnsFields();

    return getProcedureOrFunctionColumns(fields, catalog, schemaPattern, procedureNamePattern, columnNamePattern, true,
            conn.getGetProceduresReturnsFunctions());
}
 
Example 4
/**
 * Changes in behavior introduced in JDBC4 when #getFunctionColumns became available. Overrides
 * DatabaseMetaData#getProcedureColumns
 * 
 * @see DatabaseMetaData#getProcedureColumns
 * @since 1.6
 */
public java.sql.ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
        throws SQLException {
    Field[] fields = createProcedureColumnsFields();

    return getProcedureOrFunctionColumns(fields, catalog, schemaPattern, procedureNamePattern, columnNamePattern, true,
            conn.getGetProceduresReturnsFunctions());
}
 
Example 5
Source Project: r-course   Source File: FabricMySQLConnectionProxy.java    License: MIT License 4 votes vote down vote up
public ResultSetInternalMethods execSQL(StatementImpl callingStatement, String sql, int maxRows, Buffer packet, int resultSetType, int resultSetConcurrency,
        boolean streamResults, String catalog, Field[] cachedMetadata) throws SQLException {
    return getActiveMySQLConnectionChecked().execSQL(callingStatement, sql, maxRows, packet, resultSetType, resultSetConcurrency, streamResults, catalog,
            cachedMetadata);
}
 
Example 6
Source Project: r-course   Source File: FabricMySQLConnectionProxy.java    License: MIT License 4 votes vote down vote up
public ResultSetInternalMethods execSQL(StatementImpl callingStatement, String sql, int maxRows, Buffer packet, int resultSetType, int resultSetConcurrency,
        boolean streamResults, String catalog, Field[] cachedMetadata, boolean isBatch) throws SQLException {
    return getActiveMySQLConnectionChecked().execSQL(callingStatement, sql, maxRows, packet, resultSetType, resultSetConcurrency, streamResults, catalog,
            cachedMetadata, isBatch);
}
 
Example 7
Source Project: r-course   Source File: JDBC42UpdatableResultSet.java    License: MIT License 4 votes vote down vote up
public JDBC42UpdatableResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 8
Source Project: r-course   Source File: JDBC42ResultSet.java    License: MIT License 4 votes vote down vote up
public JDBC42ResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 9
Source Project: r-course   Source File: JDBC4ResultSet.java    License: MIT License 4 votes vote down vote up
public JDBC4ResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 10
Source Project: r-course   Source File: JDBC4UpdatableResultSet.java    License: MIT License 4 votes vote down vote up
public JDBC4UpdatableResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 11
public ResultSetInternalMethods execSQL(StatementImpl callingStatement, String sql, int maxRows, Buffer packet, int resultSetType, int resultSetConcurrency,
        boolean streamResults, String catalog, Field[] cachedMetadata) throws SQLException {
    return getActiveMySQLConnectionChecked().execSQL(callingStatement, sql, maxRows, packet, resultSetType, resultSetConcurrency, streamResults, catalog,
            cachedMetadata);
}
 
Example 12
public ResultSetInternalMethods execSQL(StatementImpl callingStatement, String sql, int maxRows, Buffer packet, int resultSetType, int resultSetConcurrency,
        boolean streamResults, String catalog, Field[] cachedMetadata, boolean isBatch) throws SQLException {
    return getActiveMySQLConnectionChecked().execSQL(callingStatement, sql, maxRows, packet, resultSetType, resultSetConcurrency, streamResults, catalog,
            cachedMetadata, isBatch);
}
 
Example 13
public JDBC42UpdatableResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 14
Source Project: Komondor   Source File: JDBC42ResultSet.java    License: GNU General Public License v3.0 4 votes vote down vote up
public JDBC42ResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 15
Source Project: Komondor   Source File: JDBC4ResultSet.java    License: GNU General Public License v3.0 4 votes vote down vote up
public JDBC4ResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 16
public JDBC4UpdatableResultSet(String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws SQLException {
    super(catalog, fields, tuples, conn, creatorStmt);
}
 
Example 17
Source Project: r-course   Source File: JDBC4DatabaseMetaData.java    License: MIT License 2 votes vote down vote up
/**
 * Changes in behavior introduced in JDBC4 when #getFunctions became available. Overrides
 * DatabaseMetaData#getProcedures.
 * 
 * @see DatabaseMetaData#getProcedures
 * @since 1.6
 */
public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException {
    Field[] fields = createFieldMetadataForGetProcedures();

    return getProceduresAndOrFunctions(fields, catalog, schemaPattern, procedureNamePattern, true, conn.getGetProceduresReturnsFunctions());
}
 
Example 18
/**
 * Changes in behavior introduced in JDBC4 when #getFunctions became available. Overrides
 * DatabaseMetaData#getProcedures.
 * 
 * @see DatabaseMetaData#getProcedures
 * @since 1.6
 */
public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException {
    Field[] fields = createFieldMetadataForGetProcedures();

    return getProceduresAndOrFunctions(fields, catalog, schemaPattern, procedureNamePattern, true, conn.getGetProceduresReturnsFunctions());
}