Welcome to the Progress DataDirect for JDBC for Apache Hive Driver
What's new in this release?
Requirements
Data source and driver classes
Connection URL
Version string information
Connection properties
Data types
getTypeInfo
Contacting Technical Support
Getting started
Data source and driver classes
Setting the classpath
Connecting using the DriverManager
Passing the connection URL
Testing the connection
Connecting using data sources
How data sources are implemented
Creating data sources
Example data source
Calling a data source in an application
Testing a data source connection
Using the driver
Connecting from an application
Data source and driver classes
Setting the classpath
Connecting using the DriverManager
Passing the connection URL
Testing the connection
Connecting using data sources
How data sources are implemented
Creating data sources
Example data source
Calling a data source in an application
Testing a data source connection
HTTP Mode
Using connection properties
Required properties
User ID/password authentication properties
Kerberos authentication properties
Data encryption properties
Data type handling properties
Timeout properties
Client information properties
Statement pooling properties
Additional properties
Performance considerations
Authentication
Configuring user ID/password authentication
Configuring the driver for Kerberos authentication
Kerberos Authentication Requirements
The JAAS login configuration file
Kerberos SASL-QOP
Data encryption
Configuring SSL encryption
Configuring SSL server authentication
Configuring SSL client authentication
Apache Knox
Apache ZooKeeper
Configuring Apache ZooKeeper for Kerberos authentication
Client information
How databases store client information
Storing client information
Returning client information
Returning MetaData about client information locations
IP addresses
Parameter metadata support
Insert and update statements
Select statements
Stored procedures
ResultSet metadata support
Isolation levels
Unicode support
Error handling
Large object support
Batch inserts
Rowset support
Timeouts
Views
SQL escape sequences
Using scrollable cursors
Restrictions for Apache Hive functionality
Connection Pool Manager
How connection pooling works
The connection pool environment
The DataDirect Connection Pool Manager
Using a connection pool DataSource object
Implementing DataDirect connection pooling
Creating a driver DataSource object
Creating the connection pool
Configuring the connection pool
Configuring the maximum pool size
Connecting using a connection pool
Closing the connection pool
Checking the Pool Manager version
Enabling Pool Manager tracing
Connection Pool Manager interfaces
PooledConnectionDataSourceFactory
PooledConnectionDataSource
ConnectionPoolMonitor
Statement Pool Monitor
Using DataDirect-specific methods to access the Statement Pool Monitor
Using the poolEntries method
Generating a list of statements in the statement pool
Using JMX to access the Statement Pool Monitor
Importing statements into a statement pool
Clearing all statements in a statement pool
Freezing and unfreezing the statement pool
Generating a statement pool export file
DataDirect Statement Pool Monitor interfaces and classes
ExtStatementPoolMonitor class
ExtStatementPoolMonitorMBean interface
DataDirect Test
DataDirect Test tutorial
Configuring DataDirect Test
Starting DataDirect Test
Connecting using DataDirect Test
Connecting using a data source
Connecting using database selection
Executing a simple Select statement
Executing a prepared statement
Retrieving database metadata
Scrolling through a result set
Batch execution on a prepared statement
Returning parameter metadata
Establishing savepoints
Updatable result sets
Deleting a row
Inserting a row
Updating a row
Retrieving large object (LOB) data
Tracking JDBC calls with DataDirect Spy
Enabling DataDirect Spy
Using the JDBC Driver Manager
Using JDBC data sources
DataDirect Spy attributes
Connection property descriptions
AccountingInfo
ApplicationName
ArrayFetchSize
ArrayInsertSize
AuthenticationMethod
BatchMechanism
BinaryDescribeType
CatalogMode
ClientHostName
ClientUser
ConnectionRetryCount
ConnectionRetryDelay
ConvertNull
CookieName
CryptoProtocolVersion
DatabaseName
EnableCookieAuthentication
EncryptionMethod
HostNameInCertificate
HTTPPath
ImpersonateUser
ImportStatementPool
InitializationString
InsensitiveResultSetBufferSize
JavaDoubleToString
KeyPassword
KeyStore
KeyStorePassword
LoginConfigName
LoginTimeout
MaxBinarySize
MaxPooledStatements
MaxStringSize
Password
PortNumber
ProgramID
QueryTimeout
RegisterStatementPoolMonitorMBean
RemoveColumnQualifiers
ServerName
ServicePrincipalName
SpyAttributes
StringDescribeType
TransactionMode
TransportMode
TrustStore
TrustStorePassword
UseCurrentSchema
User
ValidateServerCertificate
ZooKeeperDiscovery
ZooKeeperNamespace
Troubleshooting
Troubleshooting your application
Turning on and off DataDirect Spy logging
DataDirect Spy log example
Troubleshooting connection pooling
Enabling tracing with the setTracing method
Pool Manager trace file example
Troubleshooting statement pooling
Generating an export file with the exportStatement method
Statement pool export file example
Configuring logging
Using the JVM for logging
Supported SQL Functionality and Extensions
Data definition language (DDL)
Column name qualification
From clause
Group By clause
Having clause
Order By clause
For Update clause
Set Operators
Subqueries
SQL Expressions
Constants
Numeric operators
Character operator
Relational operators
Logical operators
Functions
Restrictions
Merge restriction
Stored procedures
Views
Other restrictions
SQL escape sequences for JDBC
Date, time, and timestamp escape sequences
Scalar functions
Outer join escape sequences
LIKE escape character sequence for wildcards
Procedure call escape sequences
JDBC support
Array
Blob
CallableStatement
Clob
Connection
ConnectionEventListener
ConnectionPoolDataSource
DatabaseMetaData
DataSource
Driver
ParameterMetaData
PooledConnection
PreparedStatement
Ref
ResultSet
ResultSetMetaData
RowSet
SavePoint
Statement
StatementEventListener
Struct
XAConnection
XADataSource
XAResource
JDBC extensions
Using JDBC wrapper methods to access JDBC extensions
DatabaseMetaData interface
DDBulkLoad interface
ExtConnection interface
ExtDatabaseMetaData interface
ExtLogControl class
Designing JDBC applications for performance optimization
Using database metadata methods
Minimizing the use of database metadata methods
Avoiding search patterns
Using a dummy query to determine table characteristics
Returning data
Returning long data
Reducing the size of returned data
Choosing the right data type
Retrieving result sets
Selecting JDBC objects and methods
Using parameter markers as arguments to stored procedures
Using the statement object instead of the PreparedStatement object
Using batches instead of prepared statements
Choosing the right cursor
Using get methods effectively
Retrieving auto-generated keys
Managing connections and updates
Managing connections
Managing commits in transactions
Choosing the right transaction model
Using updateXXX methods
Using getBestRowIdentifier
Glossary
authentication
bulk load
client authentication
client load balancing
connection pooling
connection retry
connection URL
DataDirect Connection Pool Manager
DataDirect DB2 Package Manager
DataDirect Spy
DataDirect Test
data source
Driver Manager
failover
index
isolation level
J2EE
JDBC data source
JNDI
JTA
Kerberos
load balancing
locking level
NTLM authentication
OS authentication
reauthentication
resource adapter
Secure Socket Layer
SSL client and server authentication
Unicode
user ID and password authentication
Copyright
Welcome to the Progress DataDirect for JDBC for Apache Hive Driver
Copyright
connection_pool
statement_pool
datadirect_test
datadirect_spy
sql_escapes
jdbc_support
application_performance