Welcome to the Progress DataDirect for JDBC for Apache Spark SQL 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 with the JDBC Driver Manager
Registering the Driver with the Driver Manager
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 DataSource Connection
Using the Driver
Required Permissions for Java Platform
Permissions for Establishing Connections
Granting Access to Java Properties
Granting Access to Temporary Files
Permissions for Kerberos Authentication
Connecting from an Application
Data Source and Driver Classes
Setting the Classpath
Connecting with the JDBC Driver Manager
Registering the Driver with the Driver Manager
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 DataSource 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
Using Data Encryption
Configuring SSL Encryption
Configuring SSL Server Authentication
Configuring SSL Client Authentication
Using Authentication
Using the AuthenticationMethod Property
Configuring User ID/Password Authentication
Configuring the Driver for Kerberos Authentication
Kerberos Authentication Requirements
The JAAS Login Configuration File
The krb5.conf File
Specifying User Credentials for Kerberos Authentication (Delegation of Credentials)
Obtaining a Kerberos Ticket Granting Ticket
Kerberos SASL-QOP
Using 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, Update, and Delete Statements
Select Statements
ResultSet Metadata Support
Isolation Levels
Unicode
Error Handling
Large Object Support
Rowset Support
Timeouts
Views
SQL Escape Sequences
Using Scrollable Cursors
Spark SQL Compatibility with Apache Hive
Stored Procedures
Connection Pool Manager
How Connection Pooling Works
The Connection Pool Environment
The DataDirect Connection Pool Manager
Using a Connection Pool Data Source 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 ParameterMetaData
Establishing Savepoints
Updatable Result Sets
Deleting a Row
Inserting a Row
Updating a Row
Retrieving Large Object 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
AuthenticationMethod
BinaryDescribeType
ClientHostName
ClientUser
ConnectionRetryCount
ConnectionRetryDelay
ConvertNull
CookieName
CryptoProtocolVersion
DatabaseName
EnableCookieAuthentication
EncryptionMethod
HostNameInCertificate
HTTPPath
ImportStatementPool
InitializationString
InsensitiveResultSetBufferSize
JavaDoubleToString
KeyPassword
KeyStore
KeyStorePassword
LoginTimeout
MaxBinarySize
MaxPooledStatements
Password
PortNumber
ProgramID
RegisterStatementPoolMonitorMBean
RemoveColumnQualifiers
ServerName
ServicePrincipalName
SpyAttributes
StringDescribeType
TransactionMode
TransportMode
TrustStore
TrustStorePassword
UseCurrentSchema
User
ValidateServerCertificate
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
Data Definition Language
Selecting Data With the Driver
Select List
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
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
JDBC and JVM Compatibility
Supported Functionality
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 Spark SQL Driver
Copyright