public String getColumnName(int column) throws SQLException { return getColumnLabel(column); }
public String getColumnLabel(int column) throws SQLException { Field field = getField(column); return field.getColumnLabel(); }
Field field = getField(column); String result = connection.getTypeInfo().getJavaClass(field.getOID()); return result; int sqlType = getSQLType(column); switch(sqlType) { case Types.ARRAY: return ("java.sql.Array"); default: String type = getPGType(column); if ("unknown".equals(type)) { return ("java.lang.String");
public String getColumnTypeName(int column) throws SQLException { String type = getPGType(column); if (isAutoIncrement(column)) { if ("int4".equals(type)) { return "serial"; } else if ("int8".equals(type)) { return "bigserial"; } } return type; }
public String getBaseColumnName(int column) throws SQLException { fetchFieldMetaData(); Field field = getField(column); return field.getColumnName(); }
public boolean isCurrency(int column) throws SQLException { String type_name = getPGType(column); return type_name.equals("cash") || type_name.equals("money"); }
public boolean isWritable(int column) throws SQLException { return !isReadOnly(column); }
public int getColumnType(int column) throws SQLException { return getSQLType(column); }
public String getBaseTableName(int column) throws SQLException { fetchFieldMetaData(); Field field = getField(column); return field.getTableName(); }
public String getColumnTypeName(int column) throws SQLException { String type = getPGType(column); if (isAutoIncrement(column)) { if ("int4".equals(type)) { return "serial"; } else if ("int8".equals(type)) { return "bigserial"; } } return type; }
public String getColumnTypeName(int column) throws SQLException { return getPGType(column); }
public boolean isWritable(int column) throws SQLException { return !isReadOnly(column); }
public int getColumnType(int column) throws SQLException { return getSQLType(column); }
public boolean isCaseSensitive(int column) throws SQLException { Field field = getField(column); return connection.getTypeInfo().isCaseSensitive(field.getOID()); }
public int isNullable(int column) throws SQLException { fetchFieldMetaData(); Field field = getField(column); return field.getNullable(); }
Field field = getField(column); String result = connection.getTypeInfo().getJavaClass(field.getOID()); return result; int sqlType = getSQLType(column); switch(sqlType) { case Types.ARRAY: return ("java.sql.Array"); default: String type = getPGType(column); if ("unknown".equals(type)) { return ("java.lang.String");
public boolean isCurrency(int column) throws SQLException { String type_name = getPGType(column); return type_name.equals("cash") || type_name.equals("money"); }
public String getColumnName(int column) throws SQLException { return getColumnLabel(column); }
public boolean isWritable(int column) throws SQLException { return !isReadOnly(column); }
public int getColumnType(int column) throws SQLException { return getSQLType(column); }