com.mysql.jdbc.Field Java Examples

The following examples show how to use com.mysql.jdbc.Field. 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 File: JDBC4DatabaseMetaDataUsingInfoSchema.java    From r-course with 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 File: JDBC4DatabaseMetaData.java    From r-course with 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
Source File: JDBC4DatabaseMetaData.java    From Komondor with GNU General Public License v3.0 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 #4
Source File: JDBC4DatabaseMetaDataUsingInfoSchema.java    From Komondor with GNU General Public License v3.0 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 #5
Source File: FabricMySQLConnectionProxy.java    From Komondor with GNU General Public License v3.0 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 File: JDBC4UpdatableResultSet.java    From Komondor with GNU General Public License v3.0 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 #7
Source File: JDBC4ResultSet.java    From Komondor with 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 #8
Source File: JDBC42ResultSet.java    From Komondor with 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 #9
Source File: JDBC42UpdatableResultSet.java    From Komondor with GNU General Public License v3.0 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 #10
Source File: FabricMySQLConnectionProxy.java    From Komondor with GNU General Public License v3.0 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 #11
Source File: FabricMySQLConnectionProxy.java    From r-course with 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 #12
Source File: JDBC4UpdatableResultSet.java    From r-course with 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 #13
Source File: JDBC4ResultSet.java    From r-course with 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 #14
Source File: JDBC42ResultSet.java    From r-course with 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 #15
Source File: JDBC42UpdatableResultSet.java    From r-course with 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 #16
Source File: FabricMySQLConnectionProxy.java    From r-course with 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 #17
Source File: JDBC4DatabaseMetaData.java    From Komondor with GNU General Public License v3.0 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
Source File: JDBC4DatabaseMetaData.java    From r-course with 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());
}