FRAMES | NO FRAMES HP Neoview JDBC Type 4 Driver API Reference Abstract These application programming interface (API) reference pages provide the description, summary table, and detailed member descriptions for the classes that are implementation-specific to the HP Neoview JDBC Type 4 Driver, which accesses SQL databases on the HP Neoview Data Warehousing Platform for Business Intelligence. Product Version HP Neoview Release 2.
Open Software Foundation, OSF, the OSF logo, OSF/1, OSF/Motif, and Motif are trademarks of the Open Software Foundation, Inc. OSF MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THE OSF MATERIAL PROVIDED HEREIN, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. OSF shall not be liable for errors contained herein or for incidental consequential damages in connection with the furnishing, performance, or use of this material.
Package Class Tree Deprecated Index Help FRAMES PREV NEXT NO FRAMES How This API Document Is Organized This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows. Package Each package has a page that contains a list of its classes and interfaces, with a summary for each.
When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package. Deprecated API The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations. Index The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
All Classes HPT4Blob HPT4Clob HPT4ClobReader HPT4ClobWriter HPT4Connection HPT4ConnectionPoolD HPT4DataSource HPT4DatabaseMetaDat HPT4Driver HPT4Lob HPT4LobInputStream HPT4LobOutputStream HPT4Statement T4DSProperties T4Properties Package Class Tree Deprecated Index Help PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES Package com.hp.t4jdbc Class Summary HPT4Blob The HPT4Blob class implements the Blob interface for the SQL BLOB type. HPT4Clob The HPT4Clob class implements the Clob for the SQL CLOB type.
Package Class Tree Deprecated Index Help PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES Package com.hp.t4jdbc Class Summary HPT4Blob The HPT4Blob class implements the Blob interface for the SQL BLOB type. HPT4Clob The HPT4Clob class implements the Clob for the SQL CLOB type. HPT4ClobReader This class implements the Reader interface, which can be used to read Clob data. HPT4ClobWriter This class implements the Writer interface, which can be used to write Clob data.
Package Class Tree Deprecated Index Help PREV NEXT FRAMES NO FRAMES Hierarchy For Package com.hp.t4jdbc Class Hierarchy class java.lang.Object class HPT4Handle class com.hp.t4jdbc.HPT4Statement (implements java.sql.Statement) class HPT4Handle class com.hp.t4jdbc.HPT4DatabaseMetaData (implements java.sql.DatabaseMetaData) class com.hp.t4jdbc.HPT4Lob class com.hp.t4jdbc.HPT4Blob (implements java.sql.Blob) class com.hp.t4jdbc.HPT4Clob (implements java.sql.Clob) class java.io.InputStream class com.hp.t4jdbc.
Package Class Tree Deprecated Index Help PREV NEXT FRAMES NO FRAMES Deprecated API Deprecated Methods com.hp.t4jdbc.HPT4DataSource.getNameType() com.hp.t4jdbc.HPT4ConnectionPoolDataSource.getNameType() com.hp.t4jdbc.T4DSProperties.getURL() Use the getUrl() to obtain the URL string. com.hp.t4jdbc.HPT4DataSource.setNameType(String) com.hp.t4jdbc.HPT4ConnectionPoolDataSource.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4Blob java.lang.Object com.hp.t4jdbc.HPT4Lob com.hp.t4jdbc.HPT4Blob All Implemented Interfaces: java.sql.Blob public class HPT4Blob extends HPT4Lob implements java.sql.Blob The HPT4Blob class implements the Blob interface for the SQL BLOB type.
long position(byte[] pattern, long start) BLOB Retrieves the byte position at which the specified byte array pattern begins within the value that this Blob object represents. java.io.OutputStream setBinaryStream(long pos) Retrieves a stream that can be used to write to the BLOB value that this Blob object represents. int setBytes(long pos, byte[] bytes) Writes the given array of bytes to the BLOB value that this Blob object represents, starting at position pos , and returns the number of bytes written.
Retrieves all or part of the BLOB value that this Blob object represents, as an array of bytes. This byte array contains up to length consecutive bytes starting at position pos . Specified by: getBytes in interface java.sql.
Returns: the position at which the pattern appears; else -1 Throws: java.sql.SQLException - if there is an error accessing the BLOB setBinaryStream public java.io.OutputStream setBinaryStream(long pos) throws java.sql.SQLException Retrieves a stream that can be used to write to the BLOB value that this Blob object represents. The stream begins at position pos . Specified by: setBinaryStream in interface java.sql.
Writes all or part of the given byte array to the BLOB value that this Blob object represents and returns the number of bytes written. Writing starts at position pos in the BLOB value; len bytes from the given byte array are written. Specified by: setBytes in interface java.sql.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4Clob java.lang.Object com.hp.t4jdbc.HPT4Lob com.hp.t4jdbc.HPT4Clob All Implemented Interfaces: java.sql.Clob public class HPT4Clob extends HPT4Lob implements java.sql.Clob The HPT4Clob class implements the Clob for the SQL CLOB type.
object. long position(java.sql.Clob searchstr, long start) Retrieves the character position at which the specified Clob object searchstr appears in this Clob object. long position(java.lang.String searchstr, long start) Retrieves the character position at which the specified substring searchstr appears in the SQL CLOB value represented by this Clob object. java.io.
setAsciiStream(long) getCharacterStream public java.io.Reader getCharacterStream() throws java.sql.SQLException Retrieves the CLOB value designated by this Clob object as a java.io.Reader object (or as a stream of characters). Specified by: getCharacterStream in interface java.sql.Clob Returns: a java.io.Reader object containing the CLOB data Throws: java.sql.SQLException - if there is an error accessing the CLOB value See Also: setCharacterStream(long) getSubString public java.lang.
start - the object for which to search - the position at which to begin searching; the first position is 1 Returns: the position at which the Clob object appears or -1 if it is not present; the first position is 1 Throws: java.sql.SQLException - if there is an error accessing the CLOB value position public long position(java.lang.String searchstr, long start) throws java.sql.
represents, at position pos . Specified by: setCharacterStream in interface java.sql.Clob Parameters: pos - the position at which to start writing to the CLOB value Returns: a stream to which Unicode encoded characters can be written Throws: java.sql.SQLException - if there is an error accessing the CLOB value See Also: getCharacterStream() setString public int setString(long pos, java.lang.String str) throws java.sql.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4ClobReader java.lang.Object java.io.Reader com.hp.t4jdbc.HPT4ClobReader public class HPT4ClobReader extends java.io.Reader This class implements the Reader interface, which can be used to read Clob data. Copyright: (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P.
Method Detail close public void close() throws java.io.IOException Throws: java.io.IOException mark public void mark(int readAheadLimit) throws java.io.IOException Throws: java.io.IOException markSupported public boolean markSupported() read public int read() throws java.io.IOException Throws: java.io.IOException read public int read(char[] cbuf) throws java.io.IOException Throws: java.io.IOException read public int read(char[] cbuf, int off, int len) throws java.io.IOException Throws: java.io.
public void reset() throws java.io.IOException Throws: java.io.IOException skip public long skip(long n) throws java.io.IOException Throws: java.io.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4ClobWriter java.lang.Object java.io.Writer com.hp.t4jdbc.HPT4ClobWriter public class HPT4ClobWriter extends java.io.Writer This class implements the Writer interface, which can be used to write Clob data. Copyright: (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P.
public void close() throws java.io.IOException Throws: java.io.IOException flush public void flush() throws java.io.IOException Throws: java.io.IOException write public void write(char[] cbuf) throws java.io.IOException Throws: java.io.IOException write public void write(char[] cbuf, int off, int len) throws java.io.IOException Throws: java.io.IOException write public void write(int c) throws java.io.IOException Throws: java.io.IOException write public void write(java.lang.String str) throws java.
int off, int len) throws java.io.IOException Throws: java.io.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4Connection java.lang.Object PreparedStatementManager com.hp.t4jdbc.HPT4Connection All Implemented Interfaces: java.sql.Connection public class HPT4Connection extends PreparedStatementManager implements java.sql.Connection HP JDBC Type 4 HPT4Connection class.
java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) boolean getAutoCommit() java.lang.String getCatalog() boolean getDateConversion() Returns true if the data format needs to be converted. int getDialogueId() int getHoldability() java.sql.DatabaseMetaData getMetaData() javax.sql.PooledConnection getPooledConnection() java.lang.String getSchema() java.lang.String getServiceName() Retrieves the current service name of this connection object.
java.sql.PreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys) java.sql.PreparedStatement prepareStatement(java.lang.String sql, int[] columnIndexes) java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency) java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) java.sql.PreparedStatement prepareStatement(java.lang.String sql, java.lang.
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface java.sql.Connection clearWarnings, getWarnings Method Detail close public void close() throws java.sql.SQLException java.sql.Connection interface methods Closes the connection. The close is synchronized so that the connection shared between the threads is synchronized. Specified by: close in interface java.sql.Connection Throws: java.sql.SQLException commit public void commit() throws java.sql.
createStatement in interface java.sql.Connection Throws: java.sql.SQLException createStatement public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException Specified by: createStatement in interface java.sql.Connection Throws: java.sql.SQLException getAutoCommit public boolean getAutoCommit() throws java.sql.SQLException Specified by: getAutoCommit in interface java.sql.Connection Throws: java.sql.
Specified by: getHoldability in interface java.sql.Connection Throws: java.sql.SQLException getMetaData public java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException Specified by: getMetaData in interface java.sql.Connection Throws: java.sql.SQLException getTransactionIsolation public int getTransactionIsolation() throws java.sql.SQLException Specified by: getTransactionIsolation in interface java.sql.Connection Throws: java.sql.SQLException getTypeMap public java.util.
getServiceName public java.lang.String getServiceName() throws java.sql.SQLException Retrieves the current service name of this connection object. Throws: java.sql.SQLException - - if a database access error occurs setServiceName public void setServiceName(java.lang.String serviceName) throws java.sql.SQLException Sets the current service name for this connection object. Parameters: serviceName - - a service name to set. Throws: java.sql.
Throws: java.sql.SQLException prepareCall public java.sql.CallableStatement prepareCall(java.lang.String sql, java.lang.String stmtLabel) throws java.sql.SQLException Throws: java.sql.SQLException prepareCall public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException Specified by: prepareCall in interface java.sql.Connection Throws: java.sql.SQLException prepareCall public java.sql.CallableStatement prepareCall(java.
prepareStatement public java.sql.PreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException Specified by: prepareStatement in interface java.sql.Connection Throws: java.sql.SQLException prepareStatement public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException Specified by: prepareStatement in interface java.sql.Connection Throws: java.sql.SQLException prepareStatement public java.sql.
throws java.sql.SQLException Specified by: prepareStatement in interface java.sql.Connection Throws: java.sql.SQLException prepareStatement public java.sql.PreparedStatement prepareStatement(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException Specified by: prepareStatement in interface java.sql.Connection Throws: java.sql.SQLException releaseSavepoint public void releaseSavepoint(java.sql.Savepoint savepoint) throws java.sql.
setAutoCommit public void setAutoCommit(boolean autoCommit) throws java.sql.SQLException Specified by: setAutoCommit in interface java.sql.Connection Throws: java.sql.SQLException setCatalog public void setCatalog(java.lang.String catalog) throws java.sql.SQLException Specified by: setCatalog in interface java.sql.Connection Throws: java.sql.SQLException setHoldability public void setHoldability(int holdability) throws java.sql.SQLException Specified by: setHoldability in interface java.sql.
Throws: java.sql.SQLException setSavepoint public java.sql.Savepoint setSavepoint() throws java.sql.SQLException Specified by: setSavepoint in interface java.sql.Connection Throws: java.sql.SQLException setTransactionIsolation public void setTransactionIsolation(int level) throws java.sql.SQLException Specified by: setTransactionIsolation in interface java.sql.Connection Throws: java.sql.SQLException setTypeMap public void setTypeMap(java.util.Map map) throws java.sql.
setTxid public void setTxid(long txid) throws java.sql.SQLException Throws: java.sql.SQLException getPooledConnection public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException Throws: java.sql.SQLException getDialogueId public int getDialogueId() throws java.sql.SQLException Throws: java.sql.SQLException getDateConversion public boolean getDateConversion() Returns true if the data format needs to be converted. Used by the HPT4ResultSet class.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4ConnectionPoolDataSource java.lang.Object com.hp.t4jdbc.T4Properties com.hp.t4jdbc.T4DSProperties com.hp.t4jdbc.HPT4ConnectionPoolDataSource All Implemented Interfaces: javax.sql.ConnectionPoolDataSource, javax.naming.Referenceable, java.io.
javax.sql.PooledConnection getPooledConnection() Attempts to establish a physical database connection that can be used as a pooled connection. javax.sql.PooledConnection getPooledConnection(java.lang.String username, java.lang.String password) Attempts to establish a physical database connection that can be used as a pooled connection. int getPropertyCycle() Returns the Property cycle property. javax.naming.
public HPT4ConnectionPoolDataSource() Creates a pooled connection object. See Also: HPT4ConnectionPoolDataSource(Properties) , T4Properties HPT4ConnectionPoolDataSource public HPT4ConnectionPoolDataSource(java.util.Properties props) Creates a pooled connection object with the properties specified. Parameters: props - properties for the Type 4 connection See Also: HPT4ConnectionPoolDataSource() Method Detail getPooledConnection public javax.sql.PooledConnection getPooledConnection() throws java.sql.
Throws: java.sql.SQLException - If any NDCS error occurs. getReference public javax.naming.Reference getReference() throws javax.naming.NamingException Returns all the properties associated with this ConnectionPoolDataSource . Specified by: getReference in interface javax.naming.Referenceable Returns: Reference Object containing all the Type 4 property references. Throws: javax.naming.NamingException setPropertyCycle public void setPropertyCycle(int propertyCycle) Sets the Property cycle property.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4DatabaseMetaData java.lang.Object HPT4Handle com.hp.t4jdbc.HPT4DatabaseMetaData All Implemented Interfaces: java.sql.DatabaseMetaData public class HPT4DatabaseMetaData extends HPT4Handle implements java.sql.DatabaseMetaData HP JDBC Type 4 driver DataBaseMetaData class.
Fields inherited from interface java.sql.
java.sql.ResultSet getCrossReference(java.lang.String primaryCatalog, java.lang.String primarySchema, java.lang.String primaryTable, java.lang.String foreignCatalog, java.lang.String foreignSchema, java.lang.String foreignTable) int getDatabaseMajorVersion() int getDatabaseMinorVersion() java.lang.String getDatabaseProductName() java.lang.String getDatabaseProductVersion() int getDefaultTransactionIsolation() int getDriverMajorVersion() int getDriverMinorVersion() java.lang.
int getMaxCatalogNameLength() int getMaxCharLiteralLength() int getMaxColumnNameLength() int getMaxColumnsInGroupBy() int getMaxColumnsInIndex() int getMaxColumnsInOrderBy() int getMaxColumnsInSelect() int getMaxColumnsInTable() int getMaxConnections() int getMaxCursorNameLength() int getMaxIndexLength() int getMaxProcedureNameLength() int getMaxRowSize() int getMaxSchemaNameLength() int getMaxStatementLength() int getMaxStatements() int getMaxTableNameLength() int getMaxTablesInSelect() i
java.sql.ResultSet getProcedureColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern, java.lang.String columnNamePattern) java.sql.ResultSet getProcedures(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern) java.lang.String getProcedureTerm() int getResultSetHoldability() java.sql.ResultSet getSchemas() java.lang.String getSchemaTerm() java.lang.String getSearchStringEscape() java.lang.
java.sql.ResultSet getUDTs(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, int[] types) java.lang.String getURL() java.lang.String getUserName() java.sql.ResultSet getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.
storesMixedCaseIdentifiers boolean storesMixedCaseQuotedIdentifiers() boolean storesUpperCaseIdentifiers() boolean storesUpperCaseQuotedIdentifiers() boolean supportsAlterTableWithAddColumn() boolean supportsAlterTableWithDropColumn() boolean supportsANSI92EntryLevelSQL() boolean supportsANSI92FullSQL() boolean supportsANSI92IntermediateSQL() boolean supportsBatchUpdates() boolean supportsCatalogsInDataManipulation() boolean supportsCatalogsInIndexDefinitions() boolean supportsCatalogsInPrivileg
boolean supportsDifferentTableCorrelationNames() boolean supportsExpressionsInOrderBy() boolean supportsExtendedSQLGrammar() boolean supportsFullOuterJoins() boolean supportsGetGeneratedKeys() boolean supportsGroupBy() boolean supportsGroupByBeyondSelect() boolean supportsGroupByUnrelated() boolean supportsIntegrityEnhancementFacility() boolean supportsLikeEscapeClause() boolean supportsLimitedOuterJoins() boolean supportsMinimumSQLGrammar() boolean supportsMixedCaseIdentifiers() boolean suppor
boolean supportsOpenStatementsAcrossRollback() boolean supportsOrderByUnrelated() boolean supportsOuterJoins() boolean supportsPositionedDelete() boolean supportsPositionedUpdate() boolean supportsResultSetConcurrency(int type, int concurrency) boolean supportsResultSetHoldability(int holdability) boolean supportsResultSetType(int type) boolean supportsSavepoints() boolean supportsSchemasInDataManipulation() boolean supportsSchemasInIndexDefinitions() boolean supportsSchemasInPrivilegeDefinitions
boolean supportsTransactionIsolationLevel(int level) boolean supportsTransactions() boolean supportsUnion() boolean supportsUnionAll() boolean updatesAreDetected(int type) boolean usesLocalFilePerTable() boolean usesLocalFiles() Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Method Detail allProceduresAreCallable public boolean allProceduresAreCallable() throws java.sql.
Specified by: getURL in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getUserName public java.lang.String getUserName() throws java.sql.SQLException Specified by: getUserName in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException isReadOnly public boolean isReadOnly() throws java.sql.SQLException Specified by: isReadOnly in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException nullsAreSortedHigh public boolean nullsAreSortedHigh() throws java.sql.
public boolean nullsAreSortedAtStart() throws java.sql.SQLException Specified by: nullsAreSortedAtStart in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException nullsAreSortedAtEnd public boolean nullsAreSortedAtEnd() throws java.sql.SQLException Specified by: nullsAreSortedAtEnd in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getDatabaseProductName public java.lang.String getDatabaseProductName() throws java.sql.
getDriverVersion public java.lang.String getDriverVersion() throws java.sql.SQLException Specified by: getDriverVersion in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getDriverMajorVersion public int getDriverMajorVersion() Specified by: getDriverMajorVersion in interface java.sql.DatabaseMetaData getDriverMinorVersion public int getDriverMinorVersion() Specified by: getDriverMinorVersion in interface java.sql.
public boolean supportsMixedCaseIdentifiers() throws java.sql.SQLException Specified by: supportsMixedCaseIdentifiers in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException storesUpperCaseIdentifiers public boolean storesUpperCaseIdentifiers() throws java.sql.SQLException Specified by: storesUpperCaseIdentifiers in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException storesLowerCaseIdentifiers public boolean storesLowerCaseIdentifiers() throws java.sql.
storesUpperCaseQuotedIdentifiers public boolean storesUpperCaseQuotedIdentifiers() throws java.sql.SQLException Specified by: storesUpperCaseQuotedIdentifiers in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException storesLowerCaseQuotedIdentifiers public boolean storesLowerCaseQuotedIdentifiers() throws java.sql.SQLException Specified by: storesLowerCaseQuotedIdentifiers in interface java.sql.DatabaseMetaData Throws: java.sql.
Throws: java.sql.SQLException getNumericFunctions public java.lang.String getNumericFunctions() throws java.sql.SQLException Specified by: getNumericFunctions in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getStringFunctions public java.lang.String getStringFunctions() throws java.sql.SQLException Specified by: getStringFunctions in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getSystemFunctions public java.lang.String getSystemFunctions() throws java.sql.
Specified by: getSearchStringEscape in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getExtraNameCharacters public java.lang.String getExtraNameCharacters() throws java.sql.SQLException Specified by: getExtraNameCharacters in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsAlterTableWithAddColumn public boolean supportsAlterTableWithAddColumn() throws java.sql.SQLException Specified by: supportsAlterTableWithAddColumn in interface java.sql.
nullPlusNonNullIsNull public boolean nullPlusNonNullIsNull() throws java.sql.SQLException Specified by: nullPlusNonNullIsNull in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsConvert public boolean supportsConvert() throws java.sql.SQLException Specified by: supportsConvert in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsConvert public boolean supportsConvert(int fromType, int toType) throws java.sql.
Throws: java.sql.SQLException supportsExpressionsInOrderBy public boolean supportsExpressionsInOrderBy() throws java.sql.SQLException Specified by: supportsExpressionsInOrderBy in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsOrderByUnrelated public boolean supportsOrderByUnrelated() throws java.sql.SQLException Specified by: supportsOrderByUnrelated in interface java.sql.DatabaseMetaData Throws: java.sql.
Specified by: supportsGroupByBeyondSelect in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsLikeEscapeClause public boolean supportsLikeEscapeClause() throws java.sql.SQLException Specified by: supportsLikeEscapeClause in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsMultipleResultSets public boolean supportsMultipleResultSets() throws java.sql.SQLException Specified by: supportsMultipleResultSets in interface java.sql.
supportsMinimumSQLGrammar public boolean supportsMinimumSQLGrammar() throws java.sql.SQLException Specified by: supportsMinimumSQLGrammar in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsCoreSQLGrammar public boolean supportsCoreSQLGrammar() throws java.sql.SQLException Specified by: supportsCoreSQLGrammar in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsExtendedSQLGrammar public boolean supportsExtendedSQLGrammar() throws java.sql.
Throws: java.sql.SQLException supportsANSI92FullSQL public boolean supportsANSI92FullSQL() throws java.sql.SQLException Specified by: supportsANSI92FullSQL in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsIntegrityEnhancementFacility public boolean supportsIntegrityEnhancementFacility() throws java.sql.SQLException Specified by: supportsIntegrityEnhancementFacility in interface java.sql.DatabaseMetaData Throws: java.sql.
Specified by: supportsLimitedOuterJoins in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getSchemaTerm public java.lang.String getSchemaTerm() throws java.sql.SQLException Specified by: getSchemaTerm in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getProcedureTerm public java.lang.String getProcedureTerm() throws java.sql.SQLException Specified by: getProcedureTerm in interface java.sql.DatabaseMetaData Throws: java.sql.
getCatalogSeparator public java.lang.String getCatalogSeparator() throws java.sql.SQLException Specified by: getCatalogSeparator in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsSchemasInDataManipulation public boolean supportsSchemasInDataManipulation() throws java.sql.SQLException Specified by: supportsSchemasInDataManipulation in interface java.sql.DatabaseMetaData Throws: java.sql.
Throws: java.sql.SQLException supportsSchemasInPrivilegeDefinitions public boolean supportsSchemasInPrivilegeDefinitions() throws java.sql.SQLException Specified by: supportsSchemasInPrivilegeDefinitions in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsCatalogsInDataManipulation public boolean supportsCatalogsInDataManipulation() throws java.sql.SQLException Specified by: supportsCatalogsInDataManipulation in interface java.sql.DatabaseMetaData Throws: java.sql.
Specified by: supportsCatalogsInIndexDefinitions in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsCatalogsInPrivilegeDefinitions public boolean supportsCatalogsInPrivilegeDefinitions() throws java.sql.SQLException Specified by: supportsCatalogsInPrivilegeDefinitions in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsPositionedDelete public boolean supportsPositionedDelete() throws java.sql.
supportsStoredProcedures public boolean supportsStoredProcedures() throws java.sql.SQLException Specified by: supportsStoredProcedures in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsSubqueriesInComparisons public boolean supportsSubqueriesInComparisons() throws java.sql.SQLException Specified by: supportsSubqueriesInComparisons in interface java.sql.DatabaseMetaData Throws: java.sql.
Throws: java.sql.SQLException supportsCorrelatedSubqueries public boolean supportsCorrelatedSubqueries() throws java.sql.SQLException Specified by: supportsCorrelatedSubqueries in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsUnion public boolean supportsUnion() throws java.sql.SQLException Specified by: supportsUnion in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsUnionAll public boolean supportsUnionAll() throws java.sql.
Specified by: supportsOpenCursorsAcrossRollback in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsOpenStatementsAcrossCommit public boolean supportsOpenStatementsAcrossCommit() throws java.sql.SQLException Specified by: supportsOpenStatementsAcrossCommit in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsOpenStatementsAcrossRollback public boolean supportsOpenStatementsAcrossRollback() throws java.sql.
getMaxColumnNameLength public int getMaxColumnNameLength() throws java.sql.SQLException Specified by: getMaxColumnNameLength in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxColumnsInGroupBy public int getMaxColumnsInGroupBy() throws java.sql.SQLException Specified by: getMaxColumnsInGroupBy in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxColumnsInIndex public int getMaxColumnsInIndex() throws java.sql.
Throws: java.sql.SQLException getMaxColumnsInTable public int getMaxColumnsInTable() throws java.sql.SQLException Specified by: getMaxColumnsInTable in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxConnections public int getMaxConnections() throws java.sql.SQLException Specified by: getMaxConnections in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxCursorNameLength public int getMaxCursorNameLength() throws java.sql.
Specified by: getMaxSchemaNameLength in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxProcedureNameLength public int getMaxProcedureNameLength() throws java.sql.SQLException Specified by: getMaxProcedureNameLength in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxCatalogNameLength public int getMaxCatalogNameLength() throws java.sql.SQLException Specified by: getMaxCatalogNameLength in interface java.sql.DatabaseMetaData Throws: java.sql.
getMaxStatementLength public int getMaxStatementLength() throws java.sql.SQLException Specified by: getMaxStatementLength in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxStatements public int getMaxStatements() throws java.sql.SQLException Specified by: getMaxStatements in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getMaxTableNameLength public int getMaxTableNameLength() throws java.sql.
Throws: java.sql.SQLException getDefaultTransactionIsolation public int getDefaultTransactionIsolation() throws java.sql.SQLException Specified by: getDefaultTransactionIsolation in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsTransactions public boolean supportsTransactions() throws java.sql.SQLException Specified by: supportsTransactions in interface java.sql.DatabaseMetaData Throws: java.sql.
Specified by: supportsDataManipulationTransactionsOnly in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException dataDefinitionCausesTransactionCommit public boolean dataDefinitionCausesTransactionCommit() throws java.sql.SQLException Specified by: dataDefinitionCausesTransactionCommit in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException dataDefinitionIgnoredInTransactions public boolean dataDefinitionIgnoredInTransactions() throws java.sql.
java.sql.SQLException getTables public java.sql.ResultSet getTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String[] types) throws java.sql.SQLException Specified by: getTables in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getSchemas public java.sql.ResultSet getSchemas() throws java.sql.SQLException Specified by: getSchemas in interface java.sql.DatabaseMetaData Throws: java.sql.
java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException Specified by: getColumns in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getColumnPrivileges public java.sql.ResultSet getColumnPrivileges(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String columnNamePattern) throws java.sql.SQLException Specified by: getColumnPrivileges in interface java.sql.
java.lang.String schema, java.lang.String table) throws java.sql.SQLException Specified by: getVersionColumns in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getPrimaryKeys public java.sql.ResultSet getPrimaryKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException Specified by: getPrimaryKeys in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getImportedKeys public java.sql.ResultSet getImportedKeys(java.
java.lang.String foreignTable) throws java.sql.SQLException Specified by: getCrossReference in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getTypeInfo public java.sql.ResultSet getTypeInfo() throws java.sql.SQLException Specified by: getTypeInfo in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getIndexInfo public java.sql.ResultSet getIndexInfo(java.lang.String catalog, java.lang.String schema, java.lang.
getMaterializedViewInfo public java.sql.ResultSet getMaterializedViewInfo(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException Get a description of a table's materialized views.
insertsAreDetected public boolean insertsAreDetected(int type) throws java.sql.SQLException Specified by: insertsAreDetected in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException updatesAreDetected public boolean updatesAreDetected(int type) throws java.sql.SQLException Specified by: updatesAreDetected in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException othersDeletesAreVisible public boolean othersDeletesAreVisible(int type) throws java.sql.
Throws: java.sql.SQLException ownDeletesAreVisible public boolean ownDeletesAreVisible(int type) throws java.sql.SQLException Specified by: ownDeletesAreVisible in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException ownInsertsAreVisible public boolean ownInsertsAreVisible(int type) throws java.sql.SQLException Specified by: ownInsertsAreVisible in interface java.sql.DatabaseMetaData Throws: java.sql.
Specified by: supportsResultSetType in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsResultSetConcurrency public boolean supportsResultSetConcurrency(int type, int concurrency) throws java.sql.SQLException Specified by: supportsResultSetConcurrency in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException supportsSavepoints public boolean supportsSavepoints() throws java.sql.SQLException Specified by: supportsSavepoints in interface java.sql.
supportsGetGeneratedKeys public boolean supportsGetGeneratedKeys() throws java.sql.SQLException Specified by: supportsGetGeneratedKeys in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getSuperTypes public java.sql.ResultSet getSuperTypes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern) throws java.sql.SQLException Specified by: getSuperTypes in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getSuperTables public java.
throws java.sql.SQLException Specified by: getJDBCMajorVersion in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getJDBCMinorVersion public int getJDBCMinorVersion() throws java.sql.SQLException Specified by: getJDBCMinorVersion in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getSQLStateType public int getSQLStateType() throws java.sql.SQLException Specified by: getSQLStateType in interface java.sql.DatabaseMetaData Throws: java.sql.
supportsResultSetHoldability public boolean supportsResultSetHoldability(int holdability) throws java.sql.SQLException Specified by: supportsResultSetHoldability in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getResultSetHoldability public int getResultSetHoldability() throws java.sql.SQLException Specified by: getResultSetHoldability in interface java.sql.DatabaseMetaData Throws: java.sql.SQLException getDatabaseMajorVersion public int getDatabaseMajorVersion() throws java.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4DataSource java.lang.Object com.hp.t4jdbc.T4Properties com.hp.t4jdbc.T4DSProperties com.hp.t4jdbc.HPT4DataSource All Implemented Interfaces: javax.sql.DataSource, javax.naming.Referenceable, java.io.Serializable public class HPT4DataSource extends T4DSProperties implements javax.sql.DataSource, java.io.Serializable, javax.
env.put(Context.INITIAL_CONTEXT_FACTORY, "Factory class name here"); javax.naming.Context ctx = new javax.naming.InitialContext(env); DataSource ds = (DataSource)ctx.lookup("DataSource name here"); java.sql.Connection con = ds.getConnection(); Copyright: (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P. See Also: T4Properties , Serialized Form Constructor Summary HPT4DataSource() Contructor for the HPT4DataSource object. HPT4DataSource(java.util.
getCpuToUse, getLogWriter, getProperties, getSPJEnv, setCpuToUse, setCpuToUse, setSPJEnv, setSPJEnv Methods inherited from class java.lang.Object equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface javax.sql.DataSource getLoginTimeout, getLogWriter, setLoginTimeout Constructor Detail HPT4DataSource public HPT4DataSource() Contructor for the HPT4DataSource object. See Also: HPT4DataSource(java.util.
getConnection public java.sql.Connection getConnection(java.lang.String username, java.lang.String password) throws java.sql.SQLException Attempts to establish an NDCS connection. Specified by: getConnection in interface javax.sql.DataSource Parameters: username password - user name - user password Returns: a connection to the NDCS server. Throws: java.sql.SQLException - if a database access error or NDCS error occurs. See Also: getConnection() getReference public javax.naming.
setNameType public void setNameType(java.lang.String nameType) Deprecated. getNameType public java.lang.String getNameType() Deprecated.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4Driver java.lang.Object com.hp.t4jdbc.T4Properties com.hp.t4jdbc.HPT4Driver All Implemented Interfaces: java.sql.Driver public class HPT4Driver extends T4Properties implements java.sql.Driver HP JDBC Type 4 Driver implementation. Description: HPT4Driver is an implementation of the java.sql.Driver interface.
java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) Gets information about the possible properties for the Type 4 driver. boolean jdbcCompliant() Returns whether the Type 4 driver is JDBC compliant. Methods inherited from class com.hp.t4jdbc.T4Properties getCpuToUse, getLogWriter, getProperties, getSPJEnv, setCpuToUse, setCpuToUse, setLogWriter, setSPJEnv, setSPJEnv Methods inherited from class java.lang.
Attempts to make an NDCS connection to the given URL. The Type 4 driver returns "null" when it determines that the driver is the wrong kind of driver to connect to the given URL. This occurence is common; for example, when the JDBC driver manager is requested to connect to a given URL, the driver manager it passes the URL to each loaded driver in turn. The Type 4 driver throws an SQLException when it has trouble connecting to NDCS. You can use the java.util.
information to connect to NDCS. Depending on the values the human has supplied so far, additional values might be necessary, so you might need to iterate though several calls to the getPropertyInfo method. Specified by: getPropertyInfo in interface java.sql.Driver Parameters: url - The URL of the database to which to connect info - java.util.Properties object containing name-value pairs. The Type 4 driver ignores the Properties parameter passed to the driver.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4Lob java.lang.Object com.hp.t4jdbc.HPT4Lob Direct Known Subclasses: HPT4Blob, HPT4Clob public abstract class HPT4Lob extends java.lang.Object HP JDBC Type 4 LOB class. The HPT4Lob class is the base class providing LOB functionalities common to both HPT4Clob and HPT4Blob classes.
MAX_LOB_BATCHED_ROWS public static final int MAX_LOB_BATCHED_ROWS See Also: Constant Field Values Method Detail length public long length() throws java.sql.SQLException Retrieves the length in bytes of the HPT4Lob value designated by this HPT4Lob object. Returns: length of the CLOB in bytes Throws: java.sql.SQLException - if there is an error accessing the length of the HPT4Lob value truncate public void truncate(long len) throws java.sql.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4LobInputStream java.lang.Object java.io.InputStream com.hp.t4jdbc.HPT4LobInputStream public class HPT4LobInputStream extends java.io.InputStream This class implements the InputStream interface that can be used to read Blob/Clob data. Copyright: (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P.
Method Detail available public int available() throws java.io.IOException Throws: java.io.IOException close public void close() throws java.io.IOException Throws: java.io.IOException mark public void mark(int readlimit) markSupported public boolean markSupported() read public int read() throws java.io.IOException Throws: java.io.IOException read public int read(byte[] b) throws java.io.IOException Throws: java.io.IOException read public int read(byte[] b, int off, int len) throws java.io.
java.io.IOException reset public void reset() throws java.io.IOException Throws: java.io.IOException skip public long skip(long n) throws java.io.IOException Throws: java.io.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4LobOutputStream java.lang.Object java.io.OutputStream com.hp.t4jdbc.HPT4LobOutputStream public class HPT4LobOutputStream extends java.io.OutputStream This class implements the OutputStream interface, which can be used to write Blob/Clob data. Copyright: (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P.
flush public void flush() throws java.io.IOException Throws: java.io.IOException write public void write(byte[] b) throws java.io.IOException Throws: java.io.IOException write public void write(byte[] b, int off, int len) throws java.io.IOException Throws: java.io.IOException write public void write(int b) throws java.io.IOException Throws: java.io.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class HPT4Statement java.lang.Object HPT4Handle com.hp.t4jdbc.HPT4Statement All Implemented Interfaces: java.sql.Statement public class HPT4Statement extends HPT4Handle implements java.sql.Statement HP JDBC Type 4 HPT4Statement class. Description: The HPT4Statement class is an implementation of the java.sql.Statement interface.
boolean execute(java.lang.String sql) boolean execute(java.lang.String sql, int autoGeneratedKeys) boolean execute(java.lang.String sql, int[] columnIndexes) boolean execute(java.lang.String sql, java.lang.String[] columnNames) int[] executeBatch() java.sql.ResultSet executeQuery(java.lang.String sql) int executeUpdate(java.lang.String sql) int executeUpdate(java.lang.String sql, int autoGeneratedKeys) int executeUpdate(java.lang.String sql, int[] columnIndexes) int executeUpdate(java.lang.
int getResultSetType() java.lang.String getSQL() Returns the raw SQL associated with the statement java.lang.String getStatementLabel() Use this method to retrieve the statement-label name that was used when creating the statement through the HP connectivity service. int getUpdateCount() void setCursorName(java.lang.
Method Detail addBatch public void addBatch(java.lang.String sql) throws java.sql.SQLException Specified by: addBatch in interface java.sql.Statement Throws: java.sql.SQLException cancel public void cancel() throws java.sql.SQLException Specified by: cancel in interface java.sql.Statement Throws: java.sql.SQLException clearBatch public void clearBatch() throws java.sql.SQLException Specified by: clearBatch in interface java.sql.Statement Throws: java.sql.
public boolean execute(java.lang.String sql) throws java.sql.SQLException Specified by: execute in interface java.sql.Statement Throws: java.sql.SQLException execute public boolean execute(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException Specified by: execute in interface java.sql.Statement Throws: java.sql.SQLException execute public boolean execute(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException Specified by: execute in interface java.sql.
Throws: java.sql.SQLException java.sql.BatchUpdateException executeQuery public java.sql.ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException Specified by: executeQuery in interface java.sql.Statement Throws: java.sql.SQLException executeUpdate public int executeUpdate(java.lang.String sql) throws java.sql.SQLException Specified by: executeUpdate in interface java.sql.Statement Throws: java.sql.SQLException executeUpdate public int executeUpdate(java.lang.
public int executeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException Specified by: executeUpdate in interface java.sql.Statement Throws: java.sql.SQLException getConnection public java.sql.Connection getConnection() throws java.sql.SQLException Specified by: getConnection in interface java.sql.Statement Throws: java.sql.SQLException getFetchDirection public int getFetchDirection() throws java.sql.SQLException Specified by: getFetchDirection in interface java.
getMaxFieldSize public int getMaxFieldSize() throws java.sql.SQLException Specified by: getMaxFieldSize in interface java.sql.Statement Throws: java.sql.SQLException getMaxRows public int getMaxRows() throws java.sql.SQLException Specified by: getMaxRows in interface java.sql.Statement Throws: java.sql.SQLException getMoreResults public boolean getMoreResults() throws java.sql.SQLException Specified by: getMoreResults in interface java.sql.Statement Throws: java.sql.
getQueryTimeout in interface java.sql.Statement Throws: java.sql.SQLException getResultSet public java.sql.ResultSet getResultSet() throws java.sql.SQLException Specified by: getResultSet in interface java.sql.Statement Throws: java.sql.SQLException getResultSetConcurrency public int getResultSetConcurrency() throws java.sql.SQLException Specified by: getResultSetConcurrency in interface java.sql.Statement Throws: java.sql.
public int getUpdateCount() throws java.sql.SQLException Specified by: getUpdateCount in interface java.sql.Statement Throws: java.sql.SQLException setCursorName public void setCursorName(java.lang.String name) throws java.sql.SQLException Specified by: setCursorName in interface java.sql.Statement Throws: java.sql.SQLException setEscapeProcessing public void setEscapeProcessing(boolean enable) throws java.sql.SQLException Specified by: setEscapeProcessing in interface java.sql.
setMaxFieldSize public void setMaxFieldSize(int max) throws java.sql.SQLException Specified by: setMaxFieldSize in interface java.sql.Statement Throws: java.sql.SQLException setMaxRows public void setMaxRows(int max) throws java.sql.SQLException Specified by: setMaxRows in interface java.sql.Statement Throws: java.sql.SQLException setQueryTimeout public void setQueryTimeout(int seconds) throws java.sql.SQLException Specified by: setQueryTimeout in interface java.sql.Statement Throws: java.sql.
getSQL public java.lang.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class T4DSProperties java.lang.Object com.hp.t4jdbc.T4Properties com.hp.t4jdbc.T4DSProperties Direct Known Subclasses: HPT4ConnectionPoolDataSource, HPT4DataSource public class T4DSProperties extends T4Properties HP JDBC Type 4 driver data source connetion properties class.
Retrieves the table name used to store BLOB data for all BLOB columns accessed in the connection using the data source. java.lang.String getCatalog() Gets the default catalog that will be used to access SQL objects referenced in SQL statements if the SQL objects are not fully qualified. java.lang.String getClobTableName() Retrieves the table name used to store CBLOB data for all CLOB columns accessed in the connection using the data source. int getConnectionTimeout() java.lang.
int getRoundingMode() java.lang.String getSchema() Gets the default schema that will be used to access SQL objects referenced in SQL statements if the SQL objects are not fully qualified. java.lang.String getServerDataSource() Returns the NDCS server-side data source name used for the current Type 4 connection. java.lang.String getT4LogFile() Returns the Type 4 log file location associated with the current Type 4 connection. java.util.logging.
void setKANJI(java.lang.String lang) Sets the character set to use when encoding or decoding a Java String from a HP Neoview Database data item described with the KANJI character set. void setKSC5601(java.lang.String lang) Sets the character set to use when encoding or decoding a Java String from a HP Neoview Database data item described with the KSC5601 character set. void setLanguage(java.lang.String language) Sets the language to use for the error messages.
Sets the round mode behaviour for the driver. void setSchema(java.lang.String schema) Sets the default schema that will be used to access SQL objects referenced in SQL statements if the SQL objects are not fully qualified. void setServerDataSource(java.lang.String serverDataSource) Sets the NDCS server data source name. void setT4LogFile(java.lang.String t4LogFile) Sets the location of the file to which the logging is to be done. void setT4LogLevel(java.lang.
Sets the description for the current Type 4 connection. Parameters: description - For the current Type 4 connection. See Also: getDescription() getDescription public java.lang.String getDescription() Returns the description associated with the current Type 4 connection. Returns: The description associated with the current Type 4 connection. See Also: setDescription(String) setDataSourceName public void setDataSourceName(java.lang.
#getServerDataSourceName() getServerDataSource public java.lang.String getServerDataSource() Returns the NDCS server-side data source name used for the current Type 4 connection. Returns: NDCS server-side data source name. See Also: setServerDataSource(String) setCatalog public void setCatalog(java.lang.String catalog) Sets the default catalog that will be used to access SQL objects referenced in SQL statements if the SQL objects are not fully qualified. Parameters: - HP Neoview Database catalog name.
getSchema public java.lang.String getSchema() Gets the default schema that will be used to access SQL objects referenced in SQL statements if the SQL objects are not fully qualified. Returns: The schema associated with the current Type 4 connection. See Also: setSchema(String) setLanguage public void setLanguage(java.lang.String language) Sets the language to use for the error messages. Parameters: language - Sets the language for the current Type 4 connection.
The maximum number of physical connections that the pool (free and in-use) should contain. When the maximum number of physical connections is reached, the Type 4 driver throws an SQLException with the message "Maximum pool size reached." Specifying a value of 0 (zero) indicates there is no maximum size for the pool. Specifying a value of -1 indicates no connection pooling is performed. The default value is -1, indicating that no pooling of physical connections is done.
Returns: the number of physical connections the pool should keep available at all times. See Also: getMinPoolSize(), setMinPoolSize(int minPoolSize) setMinPoolSize public void setMinPoolSize(int minPoolSize) Sets the number of physical connections the pool should keep available at all times. Parameters: - Limits the number of physical connection that can be in the free pool.
setInitialPoolSize public void setInitialPoolSize(int initialPoolSize) The initial number of physical connections that the pool should be created with. Specifying a value of 0 (zero) or less indicates that the pool should not be created with any initial connections. The default value is -1 indicating that no initial pool of physical connections is created. The value can be less than minPoolSize but must be less than or equal to the value of maxPoolSize.
getMaxStatements public int getMaxStatements() Returns the total number of statements that can be cached. A value of zero (0) indicates that pooling of statements is disabled. Returns: The total number of statements that can be cached. getURL public java.lang.String getURL() Deprecated. Use the getUrl() to obtain the URL string. Returns the URL used in the current Type 4 connection. HP JDBC Type 4 driver URL uses the format: jdbc:hpt4jdbc://host:port/: Returns: the URL string.
setUrl public void setUrl(java.lang.String url) Sets the URL for the Type 4 connection. HP JDBC Type 4 driver URL uses the format: jdbc:hpt4jdbc://host:port/[:][prop-name=value][,prop-name=value]... This method does not validate the URL value. Parameters: url - the URL. See Also: getUrl() setUser public void setUser(java.lang.String user) Sets the user name to be used while connecting to NDCS server for authentication. Parameters: user - Sets the user for the current Type 4 connection.
Parameters: loginTimeout - The login timeout value in seconds. See Also: setLoginTimeout(int) , getLoginTimeout() setLoginTimeout public void setLoginTimeout(int loginTimeout) Sets the login timeout in seconds for the Type 4 connection. The default login timeout value is set to 60 seconds. Parameters: loginTimeout - The login timeout value in seconds.
getNetworkTimeout public int getNetworkTimeout() Returns the network timeout value set for the current Type 4 connection. Returns: The network timeout value in seconds. See Also: setNetworkTimeout(int) , setNetworkTimeout(String) setConnectionTimeout public void setConnectionTimeout(java.lang.String connectionTimeout) setConnectionTimeout public void setConnectionTimeout(int connectionTimeout) setMaxIdleTime public void setMaxIdleTime(java.lang.
getMaxIdleTime public int getMaxIdleTime() Returns the max idle time value associated with this Type 4 connection. Returns: The max idle timeout value in seconds. See Also: setMaxIdleTime(int) setT4LogLevel public void setT4LogLevel(java.lang.String level) Sets the logging level for the current Type 4 connection. The default value is OFF. Valid values are: OFF (no logging) SEVERE (highest value) WARNING INFO CONFIG FINE FINER FINEST (lowest value).
Parameters: t4LogFile - The Type 4 log file location. If the parameter is null, then the T4LogFile is set to the global log file. See Also: getT4LogFile() , Logger getT4LogFile public java.lang.String getT4LogFile() Returns the Type 4 log file location associated with the current Type 4 connection. Returns: The Type 4 log file location. See Also: setT4LogFile(String) setISO88591 public void setISO88591(java.lang.
getKANJI public java.lang.String getKANJI() Returns the KANJI character set mapping associated with the current Type 4 connection. Returns: The KANJI character set mapping. See Also: setKANJI(String) setKSC5601 public void setKSC5601(java.lang.String lang) Sets the character set to use when encoding or decoding a Java String from a HP Neoview Database data item described with the KSC5601 character set. Parameters: lang - A supported java.
public void setTranslationVerification(boolean value) Sets the translation verification property. If the value is TRUE, then the driver will generate SQLExceptions when errors in translation are encountered. The default is FALSE. Parameters: value - TRUE or FALSE See Also: getTranslationVerification() getTranslationVerification public boolean getTranslationVerification() Returns the translation verification property associated with the current Type 4 connection.
public void setBlobTableName(java.lang.String blobTableName) throws java.sql.SQLException Sets the table name to store and retrieve the BLOB data for all BLOB columns accessed in the connection using the data source. Parameters: blobTableName - the blob table name, which is in catalog_name.schema_name.blob_table_name the format Throws: java.sql.SQLException Since: 1.1 getBlobTableName public java.lang.
Returns the value of the reserve data locator length. Returns: The value of the reserved data locator length. Since: 1.1 getRoundingMode public int getRoundingMode() Returns: Returns the rounding mode set for the driver as an Integer value with one of the values: static int ROUND_CEILING Rounding mode to round toward positive infinity. static int ROUND_DOWN Rounding mode to round toward zero. static int ROUND_FLOOR Rounding mode to round toward negative infinity.
The default value is ROUND_HALF_EVEN. setRoundingMode public void setRoundingMode(int roundMode) Sets the round mode behaviour for the driver. Parameters: roundMode - Integer value with one of the values: static int ROUND_CEILING Rounding mode to round toward positive infinity. static int ROUND_DOWN Rounding mode to round toward zero. static int ROUND_FLOOR Rounding mode to round toward negative infinity.
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.hp.t4jdbc Class T4Properties java.lang.Object com.hp.t4jdbc.T4Properties Direct Known Subclasses: HPT4Driver, T4DSProperties public class T4Properties extends java.lang.Object HP JDBC Type 4 driver connetion properties class. Description: The T4Properties class contains all the properties associated with Type 4 connection.
java.io.PrintWriter getLogWriter() Returns the PrintWriter object associated with the current Type 4 connection. java.util.Properties getProperties() Returns all the connection properties associated with the current Type 4 connection object in the java.util.Properties object. boolean getSPJEnv() void setCpuToUse(short cpu) void setCpuToUse(java.lang.String cpu) void setLogWriter(java.io.PrintWriter printWriter) Sets the PrintWriter object for the current Type 4 connection.
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException Returns the PrintWriter object associated with the current Type 4 connection. Returns: java.io.PrintWriter object associated with current connection. Throws: java.sql.SQLException - when error occurs. See Also: setLogWriter(PrintWriter) , ConnectionPoolDataSource setLogWriter public void setLogWriter(java.io.PrintWriter printWriter) throws java.sql.SQLException Sets the PrintWriter object for the current Type 4 connection.
public short getCpuToUse() Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Package Class Tree Deprecated Index Help PREV NEXT FRAMES NO FRAMES ABCDEFGHIJLMNOPRSTUW A acceptsURL(String) - Method in class com.hp.t4jdbc.HPT4Driver Retrieves whether the Type 4 driver determined that it can open a connection to the given URL. addBatch(String) - Method in class com.hp.t4jdbc.HPT4Statement allProceduresAreCallable() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData allTablesAreSelectable() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData available() - Method in class com.hp.
createStatement(int, int) - Method in class com.hp.t4jdbc.HPT4Connection createStatement(int, int, int) - Method in class com.hp.t4jdbc.HPT4Connection D dataDefinitionCausesTransactionCommit() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData dataDefinitionIgnoredInTransactions() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData deletesAreDetected(int) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData doesMaxRowSizeIncludeBlobs() - Method in class com.hp.t4jdbc.
getAsciiStream() - Method in class com.hp.t4jdbc.HPT4Clob Retrieves the CLOB value designated by this Clob object as an ASCII stream. getAttributes(String, String, String, String) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getAutoCommit() - Method in class com.hp.t4jdbc.HPT4Connection getBestRowIdentifier(String, String, String, int, boolean) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getBinaryStream() - Method in class com.hp.t4jdbc.
getDatabaseMajorVersion() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getDatabaseMinorVersion() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getDatabaseProductName() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getDatabaseProductVersion() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getDateConversion() - Method in class com.hp.t4jdbc.HPT4Connection Returns true if the data format needs to be converted. getDefaultTransactionIsolation() - Method in class com.hp.t4jdbc.
getLanguage() - Method in class com.hp.t4jdbc.T4DSProperties Returns the language in which error messages will be returned to the application. getLocale() - Method in class com.hp.t4jdbc.T4DSProperties Returns the java.util.Locale object associated with the current Type 4 connection. getLogWriter() - Method in class com.hp.t4jdbc.T4Properties Returns the PrintWriter object associated with the current Type 4 connection. getLoginTimeout() - Method in class com.hp.t4jdbc.
getMaxStatements() - Method in class com.hp.t4jdbc.T4DSProperties Returns the total number of statements that can be cached. getMaxTableNameLength() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getMaxTablesInSelect() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getMaxUserNameLength() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getMetaData() - Method in class com.hp.t4jdbc.HPT4Connection getMinPoolSize() - Method in class com.hp.t4jdbc.
Returns the value of the reserve data locator length. getResultSet() - Method in class com.hp.t4jdbc.HPT4Statement getResultSetConcurrency() - Method in class com.hp.t4jdbc.HPT4Statement getResultSetHoldability() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getResultSetHoldability() - Method in class com.hp.t4jdbc.HPT4Statement getResultSetType() - Method in class com.hp.t4jdbc.HPT4Statement getRoundingMode() - Method in class com.hp.t4jdbc.T4DSProperties getSPJEnv() - Method in class com.hp.t4jdbc.
Returns the Type 4 log level associated with the current Type 4 connection. getTablePrivileges(String, String, String) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getTableTypes() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getTables(String, String, String, String[]) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getTimeDateFunctions() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData getTransactionIsolation() - Method in class com.hp.t4jdbc.
HPT4ConnectionPoolDataSource(Properties) - Constructor for class com.hp.t4jdbc.HPT4ConnectionPoolDataSource Creates a pooled connection object with the properties specified. HPT4DataSource - class com.hp.t4jdbc.HPT4DataSource. HP JDBC Type 4 Driver DataSource class. HPT4DataSource() - Constructor for class com.hp.t4jdbc.HPT4DataSource Contructor for the HPT4DataSource object. HPT4DataSource(Properties) - Constructor for class com.hp.t4jdbc.HPT4DataSource Contructor for the HPT4DataSource object.
M MAX_LOB_BATCHED_ROWS - Static variable in class com.hp.t4jdbc.HPT4Lob mark(int) - Method in class com.hp.t4jdbc.HPT4ClobReader mark(int) - Method in class com.hp.t4jdbc.HPT4LobInputStream markSupported() - Method in class com.hp.t4jdbc.HPT4ClobReader markSupported() - Method in class com.hp.t4jdbc.HPT4LobInputStream N NO_GENERATED_KEYS - Static variable in class com.hp.t4jdbc.HPT4Statement nativeSQL(String) - Method in class com.hp.t4jdbc.HPT4Connection nullPlusNonNullIsNull() - Method in class com.hp.
position(Blob, long) - Method in class com.hp.t4jdbc.HPT4Blob Retrieves the byte position in the BLOB value designated by this Blob object at which pattern begins. position(byte[], long) - Method in class com.hp.t4jdbc.HPT4Blob Retrieves the byte position at which the specified byte array pattern begins within the BLOB value that this Blob object represents. position(Clob, long) - Method in class com.hp.t4jdbc.
reset() - Method in class com.hp.t4jdbc.HPT4LobInputStream rollback() - Method in class com.hp.t4jdbc.HPT4Connection rollback(Savepoint) - Method in class com.hp.t4jdbc.HPT4Connection S setAsciiStream(long) - Method in class com.hp.t4jdbc.HPT4Clob Retrieves a stream to be used to write ASCII characters to the CLOB value that this Clob object represents, starting at position pos . setAutoCommit(boolean) - Method in class com.hp.t4jdbc.HPT4Connection setBinaryStream(long) - Method in class com.hp.t4jdbc.
setFetchDirection(int) - Method in class com.hp.t4jdbc.HPT4Statement setFetchSize(int) - Method in class com.hp.t4jdbc.HPT4Statement setHoldability(int) - Method in class com.hp.t4jdbc.HPT4Connection setISO88591(String) - Method in class com.hp.t4jdbc.T4DSProperties Sets the character set to use when encoding or decoding a Java String from a HP Neoview Database data item described with the ISO88591 character set. setInitialPoolSize(String) - Method in class com.hp.t4jdbc.
Sets the network timeout in seconds for the Type 4 connection. setNetworkTimeout(int) - Method in class com.hp.t4jdbc.T4DSProperties Sets the network timeout in seconds for the Type 4 connection. setPassword(String) - Method in class com.hp.t4jdbc.T4DSProperties Sets the user password to be used for authentication when connecting to the NDCS server. setPropertyCycle(int) - Method in class com.hp.t4jdbc.HPT4ConnectionPoolDataSource Sets the Property cycle property. setQueryTimeout(int) - Method in class com.
setTypeMap(Map) - Method in class com.hp.t4jdbc.HPT4Connection setURL(String) - Method in class com.hp.t4jdbc.T4DSProperties Sets the URL for the Type 4 connection. setUrl(String) - Method in class com.hp.t4jdbc.T4DSProperties Sets the URL for the Type 4 connection. setUser(String) - Method in class com.hp.t4jdbc.T4DSProperties Sets the user name to be used while connecting to NDCS server for authentication. skip(long) - Method in class com.hp.t4jdbc.HPT4ClobReader skip(long) - Method in class com.hp.
supportsCorrelatedSubqueries() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsDataDefinitionAndDataManipulationTransactions() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsDataManipulationTransactionsOnly() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsDifferentTableCorrelationNames() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsExpressionsInOrderBy() - Method in class com.hp.t4jdbc.
supportsOuterJoins() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsPositionedDelete() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsPositionedUpdate() - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsResultSetConcurrency(int, int) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsResultSetHoldability(int) - Method in class com.hp.t4jdbc.HPT4DatabaseMetaData supportsResultSetType(int) - Method in class com.hp.t4jdbc.
T4DSProperties - class com.hp.t4jdbc.T4DSProperties. HP JDBC Type 4 driver data source connetion properties class. T4DSProperties() - Constructor for class com.hp.t4jdbc.T4DSProperties T4DSProperties(Properties) - Constructor for class com.hp.t4jdbc.T4DSProperties T4Properties - class com.hp.t4jdbc.T4Properties. HP JDBC Type 4 driver connetion properties class. T4Properties() - Constructor for class com.hp.t4jdbc.T4Properties T4Properties(Properties) - Constructor for class com.hp.t4jdbc.