Package com.mysql.jdbc

Examples of com.mysql.jdbc.Field


    throws SQLException {
    // We don't have any built-ins, we actually support whatever
    // the client wants to provide, however we don't have a way
    // to express this with the interface given
    Field[] fields = new Field[4];
    fields[0] = new Field("", "NAME", Types.VARCHAR, 255);
    fields[1] = new Field("", "MAX_LEN", Types.INTEGER, 10);
    fields[2] = new Field("", "DEFAULT_VALUE", Types.VARCHAR, 255);
    fields[3] = new Field("", "DESCRIPTION", Types.VARCHAR, 255);
   
    ArrayList tuples = new ArrayList();
   
    return buildResultSet(fields, tuples, this.conn);
  }
View Full Code Here


     */
    public java.sql.ResultSet getFunctions(String catalog, String schemaPattern,
          String functionNamePattern) throws SQLException {
      Field[] fields = new Field[6];
     
      fields[0] = new Field("", "FUNCTION_CAT", Types.CHAR, 255);
    fields[1] = new Field("", "FUNCTION_SCHEM", Types.CHAR, 255);
    fields[2] = new Field("", "FUNCTION_NAME", Types.CHAR, 255);
    fields[3] = new Field("", "REMARKS", Types.CHAR, 255);
    fields[4] = new Field("", "FUNCTION_TYPE", Types.SMALLINT, 6);
    fields[5] = new Field("", "SPECIFIC_NAME", Types.CHAR, 255);
   
    return getProceduresAndOrFunctions(
        fields,
        catalog,
        schemaPattern,
View Full Code Here

    throws SQLException {
    // We don't have any built-ins, we actually support whatever
    // the client wants to provide, however we don't have a way
    // to express this with the interface given
    Field[] fields = new Field[4];
    fields[0] = new Field("", "NAME", Types.VARCHAR, 255);
    fields[1] = new Field("", "MAX_LEN", Types.INTEGER, 10);
    fields[2] = new Field("", "DEFAULT_VALUE", Types.VARCHAR, 255);
    fields[3] = new Field("", "DESCRIPTION", Types.VARCHAR, 255);
   
    ArrayList tuples = new ArrayList();
   
    return buildResultSet(fields, tuples, this.conn);
  }
View Full Code Here

     */
    public java.sql.ResultSet getFunctions(String catalog, String schemaPattern,
          String functionNamePattern) throws SQLException {
      Field[] fields = new Field[6];
     
      fields[0] = new Field("", "FUNCTION_CAT", Types.CHAR, 255);
    fields[1] = new Field("", "FUNCTION_SCHEM", Types.CHAR, 255);
    fields[2] = new Field("", "FUNCTION_NAME", Types.CHAR, 255);
    fields[3] = new Field("", "REMARKS", Types.CHAR, 255);
    fields[4] = new Field("", "FUNCTION_TYPE", Types.SMALLINT, 6);
    fields[5] = new Field("", "SPECIFIC_NAME", Types.CHAR, 255);
   
    return getProceduresAndOrFunctions(
        fields,
        catalog,
        schemaPattern,
View Full Code Here

    throws SQLException {
    // We don't have any built-ins, we actually support whatever
    // the client wants to provide, however we don't have a way
    // to express this with the interface given
    Field[] fields = new Field[4];
    fields[0] = new Field("", "NAME", Types.VARCHAR, 255);
    fields[1] = new Field("", "MAX_LEN", Types.INTEGER, 10);
    fields[2] = new Field("", "DEFAULT_VALUE", Types.VARCHAR, 255);
    fields[3] = new Field("", "DESCRIPTION", Types.VARCHAR, 255);
   
    ArrayList tuples = new ArrayList();
   
    return buildResultSet(fields, tuples, this.conn);
  }
View Full Code Here

     */
    public java.sql.ResultSet getFunctions(String catalog, String schemaPattern,
          String functionNamePattern) throws SQLException {
      Field[] fields = new Field[6];
     
      fields[0] = new Field("", "FUNCTION_CAT", Types.CHAR, 255);
    fields[1] = new Field("", "FUNCTION_SCHEM", Types.CHAR, 255);
    fields[2] = new Field("", "FUNCTION_NAME", Types.CHAR, 255);
    fields[3] = new Field("", "REMARKS", Types.CHAR, 255);
    fields[4] = new Field("", "FUNCTION_TYPE", Types.SMALLINT, 6);
    fields[5] = new Field("", "SPECIFIC_NAME", Types.CHAR, 255);
   
    return getProceduresAndOrFunctions(
        fields,
        catalog,
        schemaPattern,
View Full Code Here

TOP

Related Classes of com.mysql.jdbc.Field

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.