public int getMaxProcedureNameLength() throws SQLException { return getMaxNameLength(); }
public int getMaxCursorNameLength() throws SQLException { return getMaxNameLength(); }
public int getMaxTableNameLength() throws SQLException { return getMaxNameLength(); }
public int getMaxColumnNameLength() throws SQLException { return getMaxNameLength(); }
public int getMaxSchemaNameLength() throws SQLException { return getMaxNameLength(); }
public int getMaxCatalogNameLength() throws SQLException { return getMaxNameLength(); }
public int getMaxUserNameLength() throws SQLException { return getMaxNameLength(); }
@Override public ResultSet getClientInfoProperties() throws SQLException { Field[] f = new Field[4]; f[0] = new Field("NAME", Oid.VARCHAR); f[1] = new Field("MAX_LEN", Oid.INT4); f[2] = new Field("DEFAULT_VALUE", Oid.VARCHAR); f[3] = new Field("DESCRIPTION", Oid.VARCHAR); List<byte[][]> v = new ArrayList<byte[][]>(); if (connection.haveMinimumServerVersion(ServerVersion.v9_0)) { byte[][] tuple = new byte[4][]; tuple[0] = connection.encodeString("ApplicationName"); tuple[1] = connection.encodeString(Integer.toString(getMaxNameLength())); tuple[2] = connection.encodeString(""); tuple[3] = connection .encodeString("The name of the application currently utilizing the connection."); v.add(tuple); } return ((BaseStatement) createMetaDataStatement()).createDriverResultSet(f, v); }