|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package com.metamatrix.jdbc |
|---|
| Class com.metamatrix.jdbc.BaseDataSource extends WrapperImpl implements Serializable |
|---|
| Serialized Fields |
|---|
java.lang.String databaseName
java.lang.String dataSourceName
XADataSource or
ConnectionPoolDataSource;
used only when pooling connections or distributed transactions are implemented.
This property name is one of the standard property names defined by the JDBC 2.0 specification,
and is optional.
java.lang.String description
java.io.Serializable clientToken
Serializable client token that will be passed directly
through to the connectors, which may use it and/or pass it down to their underlying data source.
This property is optional.
The form and type of the client token is up to the client but it must implement the
Serializabe interface. MetaMatrix does nothing with this token except to make it
available for authentication/augmentation/replacement upon authentication to the system and to
connectors that may require it at the data source level.
java.lang.String user
java.lang.String password
java.lang.String databaseVersion
java.lang.String applicationName
java.lang.String partialResultsMode
int fetchSize
java.lang.String resultSetCacheMode
int loginTimeout
java.lang.String sqlOptions
java.lang.String disableLocalTxn
java.lang.String transactionAutoWrap
The allowable values for this property are:
OFF" - Nothing is ever wrapped in a transaction and the server will execute
multi-source updates happily but outside a transaction. This is least safe but highest performance.
The BaseDataSource.TXN_AUTO_WRAP_OFF constant value is provided for convenience.ON" - Always wrap every command in a transaction. This is most safe but lowest
performance.
The BaseDataSource.TXN_AUTO_WRAP_ON constant value is provided for convenience.PESSIMISTIC" - Assume that any command might require a transaction. Make a server
call to check whether the command being executed needs a transaction and wrap the command in a
transaction if necessary. This will auto wrap in exactly the cases where it is needed but requires
an extra server call on every command execution (including queries). This is as safe as ON, but
lower performance than OFF for cases where no transaction is actually needed (like queries).
This is the default value.
The BaseDataSource.TXN_AUTO_WRAP_PESSIMISTIC constant value is provided for convenience.OPTIMISTIC" - same as OFF but assume that no command not in a transaction actually
needs one. In other words, we're letting the user decide when to use and not use a transaction and
assuming they are doing it correctly. Only difference from OFF is that if the user executes a command
that requires a transaction but they don't use one, we will detect this and throw an exception. This
provides the safety of ON or PESSIMISTIC mode but better performance in the common case of queries
that are not multi-source.
The BaseDataSource.TXN_AUTO_WRAP_OPTIMISTIC constant value is provided for convenience.This property is important only if connecting to a MetaMatrix XA Server.
java.lang.String additionalProperties
| Class com.metamatrix.jdbc.EmbeddedDataSource extends BaseDataSource implements Serializable |
|---|
| Serialized Fields |
|---|
java.lang.String bootstrapFile
int maxStatements
int initialPoolSize
int minPoolSize
int maxPoolSize
int maxIdleTime
int propertyCycle
| Class com.metamatrix.jdbc.EmbeddedSQLException extends java.sql.SQLException implements Serializable |
|---|
| Serialized Fields |
|---|
java.lang.Throwable parentException
java.lang.String message
| Class com.metamatrix.jdbc.MMDataSource extends BaseDataSource implements Serializable |
|---|
| Serialized Fields |
|---|
int portNumber
java.lang.String serverName
java.lang.String credentials
MMURL.JDBC.CREDENTIALS.
boolean secure
java.lang.String alternateServers
java.lang.String autoFailover
java.lang.String discoveryStrategy
| Class com.metamatrix.jdbc.MMSQLException extends java.sql.SQLException implements Serializable |
|---|
| Package com.metamatrix.jdbc.api |
|---|
| Class com.metamatrix.jdbc.api.PartialResultsWarning extends java.sql.SQLWarning implements Serializable |
|---|
| Serialized Fields |
|---|
java.util.Map<K,V> failures
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||