Welcome to the Progress DataDirect for JDBC for Apache Cassandra Driver
What's New in this Release?
Requirements
Driver and Data Source Classes
Version String Information
Connection Properties
Complex Type Normalization
Collection Types
Tuple and User-Defined Types
Nested Complex Types
Data Types
getTypeInfo()
Contacting Technical Support
Getting started
Driver and Data Source Classes
Connecting Using the DriverManager
Setting the Classpath
Passing the Connection URL
Testing the Connection
Connecting Using Data Sources
How Data Sources Are Implemented
Creating Data Sources
Calling a Data Source in an Application
Using the Driver
Connecting from an Application
Driver and Data Source Classes
Connecting Using the DriverManager
Setting the Classpath
Passing the Connection URL
Testing the Connection
Connecting Using Data Sources
How Data Sources Are Implemented
Creating Data Sources
Calling a Data Source in an Application
Using Connection Properties
Required Properties
Mapping Properties
Authentication Properties
Data Encryption 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
The krb5.conf File
Specifying User Credentials for Kerberos Authentication (Delegation of Credentials)
Obtaining a Kerberos Ticket Granting Ticket
Data Encryption
Configuring SSL Encryption
Configuring SSL Server Authentication
Configuring SSL Client Authentication
Identifiers
IP Addresses
Parameter Metadata Support
Insert and Update Statements
Select Statements
Isolation Levels
Unicode
Error Handling
Large Object (LOB) Support
Rowset Support
Executing CQL
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 Data Source 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 DriverManager
Using Data Sources
DataDirect Spy Attributes
Connection Property Descriptions
AuthenticationMethod
CreateMap
EncryptionMethod
FetchSize
HostNameInCertificate
ImportStatementPool
InitializationString
InsensitiveResultSetBufferSize
KeyPassword
KeyspaceName
KeyStore
KeyStorePassword
LogConfigFile
LoginConfigName
LoginTimeout
MaxPooledStatements
NativeFetchSize
Password
PortNumber
ReadConsistency
ReadOnly
RegisterStatementPoolMonitorMBean
ResultMemorySize
SchemaMap
ServerName
ServicePrincipalName
SpyAttributes
TransactionMode
TrustStore
TrustStorePassword
User
ValidateServerCertificate
WriteConsistency
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
Troubleshooting Out-of-Memory Errors
Troubleshooting Operation Timeouts
Using Java logging
Logging Components
JDBC API logger
SQL Engine logger
Configuring Logging
Using the JVM for Logging
Using the Driver for Logging
Contacting Technical Support
Supported SQL Functionality
Data Definition Language (DDL)
Delete
Insert
Refresh Map (EXT)
Select
Select Clause
Aggregate Functions
From Clause
Outer Join Escape Sequences
Join in a From Clause
Subquery in a From Clause
Where Clause
Group By Clause
Having Clause
Union Operator
Intersect Operator
Except and Minus Operators
Order By Clause
Limit Clause
Update
SQL Expressions
Column Names
Literals
Character String Literals
Numeric Literals
Binary Literals
Date/Time Literals
Integer Literals
Operators
Unary Operator
Binary Operator
Arithmetic Operators
Concatenation Operator
Comparison Operators
Logical Operators
Operator Precedence
Functions
Conditions
Subqueries
IN Predicate
EXISTS Predicate
UNIQUE Predicate
Correlated Subqueries
SQL Escape Sequences for JDBC
Date, time, and timestamp escape sequences
Scalar Functions
Outer Join Escape Sequences
LIKE escape character sequence for wildcards
Native and Refresh 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 Cassandra Driver
Copyright