Serialized Form


Package org.objectweb.cjdbc.driver

Class org.objectweb.cjdbc.driver.DatabaseUser extends java.lang.Object implements Serializable

Serialized Fields

dbName

java.lang.String dbName
Virtual database name.


login

java.lang.String login
User name.


password

java.lang.String password
Password.

Class org.objectweb.cjdbc.driver.DataSource extends java.lang.Object implements Serializable

Serialized Fields

url

java.lang.String url
DataSource properties


user

java.lang.String user

password

java.lang.String password

logWriter

java.io.PrintWriter logWriter

Class org.objectweb.cjdbc.driver.Field extends java.lang.Object implements Serializable

Serialized Fields

scale

int scale

precision

int precision

isSigned

boolean isSigned

isSearchable

boolean isSearchable

isDefinitelyWritable

boolean isDefinitelyWritable

isWritable

boolean isWritable

isReadOnly

boolean isReadOnly

isNullable

int isNullable

isCurrency

boolean isCurrency

isCaseSensitive

boolean isCaseSensitive

isAutoIncrement

boolean isAutoIncrement

tableName

java.lang.String tableName

fieldName

java.lang.String fieldName

columnDisplaySize

int columnDisplaySize

sqlType

int sqlType

typeName

java.lang.String typeName

columnClassName

java.lang.String columnClassName

Class org.objectweb.cjdbc.driver.ResultSet extends java.lang.Object implements Serializable

Serialized Fields

currentRow

int currentRow
Cursor to current row


nbOfRows

int nbOfRows
Number of rows


nbOfColumns

int nbOfColumns
Number of columns


data

java.util.ArrayList data
The results


fields

Field[] fields
The fields


wasNullFlag

boolean wasNullFlag

reallyResult

boolean reallyResult

columnNameToIndex

java.util.Hashtable columnNameToIndex

fullColumnNameToIndex

java.util.Hashtable fullColumnNameToIndex

resultSetType

int resultSetType

resultSetConcurrency

int resultSetConcurrency

warnings

java.sql.SQLWarning warnings

owningStatement

Statement owningStatement

updateID

long updateID

updateCount

long updateCount

fetchDirection

int fetchDirection
The fetch direction


fetchSize

int fetchSize
The fetch size


Package org.objectweb.cjdbc.driver.protocol

Class org.objectweb.cjdbc.driver.protocol.CommandCompleted extends CJDBCException implements Serializable


Package org.objectweb.cjdbc.controller

Class org.objectweb.cjdbc.controller.ControllerException extends CJDBCException implements Serializable

Class org.objectweb.cjdbc.controller.ControllerFactory extends java.util.Hashtable implements Serializable

Serialized Fields

controller

Controller controller


Package org.objectweb.cjdbc.controller.virtualdatabase

Class org.objectweb.cjdbc.controller.virtualdatabase.DistributedVirtualDatabase extends VirtualDatabase implements Serializable

Serialized Fields

channel

org.jgroups.JChannel channel

dispatcher

org.jgroups.blocks.MessageDispatcher dispatcher

Class org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Virtual database name


groupName

java.lang.String groupName
Group name if this virtual database is hosted by multiple controllers


authenticationManager

AuthenticationManager authenticationManager
Authentification manager matching virtual database login/password to backends login/password


backends

java.util.ArrayList backends
ArrayList of DatabaseBackend objects


rwLock

ReadPrioritaryFIFOWriteLock rwLock
Read/Write lock for backend list


requestManager

RequestManager requestManager
The request manager to use for this database


logger

Trace logger

requestLogger

Trace requestLogger

activeThreads

java.util.ArrayList activeThreads

idleThreads

int idleThreads

pendingConnections

java.util.ArrayList pendingConnections

maxNbOfConnections

int maxNbOfConnections
Maximum number of concurrent accepted for this virtual database


poolConnectionThreads

boolean poolConnectionThreads
If false one worker thread is forked per connection else


maxThreadIdleTime

long maxThreadIdleTime
Maximum time a worker thread can remain idle before dying


minNbOfThreads

int minNbOfThreads
Minimum number of worker threads to keep in the pool if poolConnectionThreads is true


maxNbOfThreads

int maxNbOfThreads
Maximum number of worker threads to fork


currentNbOfThreads

int currentNbOfThreads
Current number of worker threads


metadata

VirtualDatabaseMetaData metadata
Virtual Database MetaData

Class org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseException extends java.lang.Exception implements Serializable


Package org.objectweb.cjdbc.controller.virtualdatabase.protocol

Class org.objectweb.cjdbc.controller.virtualdatabase.protocol.DistributedRequest extends org.jgroups.Message implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput)
                   throws java.io.IOException

Class org.objectweb.cjdbc.controller.virtualdatabase.protocol.ExecWriteRequest extends DistributedRequest implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput)
                   throws java.io.IOException


Package org.objectweb.cjdbc.controller.loadbalancer.policies.createtable

Class org.objectweb.cjdbc.controller.loadbalancer.policies.createtable.CreateTableException extends CJDBCException implements Serializable


Package org.objectweb.cjdbc.controller.loadbalancer.policies.errorchecking

Class org.objectweb.cjdbc.controller.loadbalancer.policies.errorchecking.ErrorCheckingException extends CJDBCException implements Serializable


Package org.objectweb.cjdbc.controller.scheduler.schema

Class org.objectweb.cjdbc.controller.scheduler.schema.SchedulerDatabaseSchema extends java.lang.Object implements Serializable

Serialized Fields

tables

java.util.ArrayList tables
ArrayList of SchedulerDatabaseTable.


lock

TransactionExclusiveLock lock

Class org.objectweb.cjdbc.controller.scheduler.schema.SchedulerDatabaseTable extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Database table name.


lock

TransactionExclusiveLock lock


Package org.objectweb.cjdbc.controller.cache

Class org.objectweb.cjdbc.controller.cache.CacheException extends java.sql.SQLException implements Serializable


Package org.objectweb.cjdbc.controller.cache.schema

Class org.objectweb.cjdbc.controller.cache.schema.CacheDatabaseColumn extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

cacheEntries

java.util.ArrayList cacheEntries

Class org.objectweb.cjdbc.controller.cache.schema.CacheDatabaseSchema extends java.lang.Object implements Serializable

Serialized Fields

tables

java.util.ArrayList tables
Database tables.

Class org.objectweb.cjdbc.controller.cache.schema.CacheDatabaseTable extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

columns

java.util.ArrayList columns

cacheEntries

java.util.ArrayList cacheEntries


Package org.objectweb.cjdbc.controller.jmx

Class org.objectweb.cjdbc.controller.jmx.JmxException extends java.lang.Exception implements Serializable


Package org.objectweb.cjdbc.controller.authentication

Class org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser extends java.lang.Object implements Serializable

Serialized Fields

login

java.lang.String login
Login name.


password

java.lang.String password
Password.

Class org.objectweb.cjdbc.controller.authentication.AuthenticationManagerException extends CJDBCException implements Serializable

Class org.objectweb.cjdbc.controller.authentication.DatabaseBackendUser extends AbstractDatabaseUser implements Serializable

Serialized Fields

backendName

java.lang.String backendName
Backend logical name.

Class org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUser extends AbstractDatabaseUser implements Serializable


Package org.objectweb.cjdbc.controller.console

Class org.objectweb.cjdbc.controller.console.ConsoleHelperException extends CJDBCException implements Serializable

Class org.objectweb.cjdbc.controller.console.GUIConsoleHelper extends javax.swing.JFrame implements Serializable

Serialized Fields

commandCompletor

CommandCompletorInterface commandCompletor
Command completor to use.


lastAcceptedLine

java.lang.String lastAcceptedLine
Contains the last line entered in the console.


password

java.lang.StringBuffer password
Contains the password entered in the console.


startedLine

java.lang.String startedLine

cmdStart

int cmdStart
Index for the command first character.


history

java.util.ArrayList history
Contains the historic of commands.


histLine

int histLine

menu

javax.swing.JPopupMenu menu
Popu menu.


text

javax.swing.JTextPane text
Console panel.


gotUp

boolean gotUp
Hack to prevent key repeat for some reason?


echo

boolean echo
true if the input must be displayed in the console.


Package org.objectweb.cjdbc.controller.connection

Class org.objectweb.cjdbc.controller.connection.AbstractConnectionManager extends java.lang.Object implements Serializable

Serialized Fields

backendUrl

java.lang.String backendUrl
URL of the DatabaseBackend owning this connection manager.


backendName

java.lang.String backendName
Name of the DatabaseBackend owning this connection manager.


rLogin

java.lang.String rLogin
Backend connection login to be used by this connection manager.


rPassword

java.lang.String rPassword
Backend connection password to be used by this connection manager.


initialized

boolean initialized
true if the connection pool has been initialized.

Class org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManager extends AbstractConnectionManager implements Serializable

Serialized Fields

poolSize

int poolSize
Size of the connection pool with the real database.

Class org.objectweb.cjdbc.controller.connection.FailFastPoolConnectionManager extends AbstractPoolConnectionManager implements Serializable

Class org.objectweb.cjdbc.controller.connection.RandomWaitPoolConnectionManager extends AbstractPoolConnectionManager implements Serializable

Serialized Fields

timeout

int timeout
Time to wait for a connection in milliseconds (0 means wait forever).

Class org.objectweb.cjdbc.controller.connection.SimpleConnectionManager extends AbstractConnectionManager implements Serializable

Class org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager extends AbstractPoolConnectionManager implements Serializable

Serialized Fields

initPoolSize

int initPoolSize
Initial pool size to be initialized at startup.


minPoolSize

int minPoolSize
Minimum pool size.


maxPoolSize

int maxPoolSize
Maximum pool size.


idleTimeout

int idleTimeout
Time a connection can stay idle before begin released (removed from the pool) in milliseconds (0 means forever)


waitTimeout

int waitTimeout
Maximum time to wait for a connection in milliseconds.


releaseTimes

java.util.Stack releaseTimes
Stores the time on which connections have been released.


removeIdleConnectionsThread

VariablePoolConnectionManager.RemoveIdleConnectionsThread removeIdleConnectionsThread
Allow to remove idle connections in the pool.


Package org.objectweb.cjdbc.controller.backend

Class org.objectweb.cjdbc.controller.backend.DatabaseBackend extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Logical name assigned to this backend.


driverClassName

java.lang.String driverClassName
Database native JDBC driver class name.


driverCompliance

DriverCompliance driverCompliance
Driver compliance to C-JDBC requirements


url

java.lang.String url
Real URL to access the database (JDBC URL).


isEnabled

boolean isEnabled
Is this bakend enabled.


schema

DatabaseSchema schema
The schema of the database.


schemaIsStatic

boolean schemaIsStatic
true if schema is static.


connectionManagers

java.util.HashMap connectionManagers
Connection managers for this backend.


activeTransactions

java.util.Vector activeTransactions
List of started transactions.


pendingRequests

java.util.Vector pendingRequests
List of pending requests.


Package org.objectweb.cjdbc.controller.shutdown

Class org.objectweb.cjdbc.controller.shutdown.ShutdownException extends CJDBCException implements Serializable


Package org.objectweb.cjdbc.sql

Class org.objectweb.cjdbc.sql.AbstractRequest extends java.lang.Object implements Serializable

Serialized Fields

id

int id
Request unique id (set by the controller).


sqlQuery

java.lang.String sqlQuery
SQL query (should be set in constructor).


sqlSkeleton

java.lang.String sqlSkeleton
SQL query skeleton as it appears in PreparedStatements.


login

java.lang.String login
Login used to issue this request (must be set by the Connection object).


cacheable

int cacheable
Whether this request is cacheable or not.


isParsed

boolean isParsed
Whether the SQL content has been parsed or not.


maxRows

int maxRows
Maximum number of rows in the ResultSet.

See Also:
Statement.setMaxRows(int)

isReadOnly

boolean isReadOnly
True if the connection has been set to read-only


isAutoCommit

boolean isAutoCommit
Whether this request has been sent in autocommit mode or not.


transactionId

int transactionId
Transaction identifier if this request belongs to a transaction.


timeout

int timeout
Timeout for this request in seconds, value 0 means no timeout (should be set in constructor).


escapeProcessing

boolean escapeProcessing
Should the driver do escape processing before sending to the database? No setter for this member, should be set in constructor.

Class org.objectweb.cjdbc.sql.AbstractWriteRequest extends AbstractRequest implements Serializable

Serialized Fields

tableName

java.lang.String tableName
Name of the table involved in this write query.


columns

java.util.ArrayList columns
ArrayList of TableColumn involved in this write query.


blocking

boolean blocking
true if this request might block.

Class org.objectweb.cjdbc.sql.CreateRequest extends AbstractWriteRequest implements Serializable

Serialized Fields

table

DatabaseTable table
The table to create.


fromTables

java.util.ArrayList fromTables
List of tables used to fill the created table in case of create query containing a select.

Class org.objectweb.cjdbc.sql.DeleteRequest extends AbstractWriteRequest implements Serializable

Serialized Fields

isUnique

boolean isUnique
true if this query only deletes a single row.


from

java.util.ArrayList from
ArrayList of String objects


whereValues

java.util.ArrayList whereValues
ArrayList of values String associated with the unique columns involved in this delete query.

The values instance variable is only used when a COLUMN_UNIQUE_DELETE granularity is applied. Here, the DELETE request is UNIQUE: all columns of the WHERE clause are UNIQUE and used in the left part of an equality. When such a granularity is used, the columns instance variable contains only UNIQUE columns.

See Also:
CachingGranularities

Class org.objectweb.cjdbc.sql.DropRequest extends AbstractWriteRequest implements Serializable

Class org.objectweb.cjdbc.sql.InsertRequest extends AbstractWriteRequest implements Serializable

Class org.objectweb.cjdbc.sql.NotImplementedException extends java.sql.SQLException implements Serializable

Class org.objectweb.cjdbc.sql.SelectRequest extends AbstractRequest implements Serializable

Serialized Fields

select

java.util.ArrayList select
ArrayList of TableColumn objects.


from

java.util.ArrayList from
ArrayList of String objects.


where

java.util.ArrayList where
ArrayList of TableColumn objects.


whereValues

java.util.Hashtable whereValues
Hashtable of String keys corresponding to column names and String values corresponding to the values associated with the UNIQUE columns of a UNIQUE SELECT.

Used with the COLUMN_UNIQUE_DELETE granularity.

See Also:
CachingGranularities

Class org.objectweb.cjdbc.sql.StoredProcedure extends AbstractRequest implements Serializable

Class org.objectweb.cjdbc.sql.UnknownRequest extends AbstractRequest implements Serializable

Class org.objectweb.cjdbc.sql.UpdateRequest extends AbstractWriteRequest implements Serializable

Serialized Fields

isUnique

boolean isUnique
true if this request updates a UNIQUE row.


equivalentInsert

java.lang.String equivalentInsert
INSERT statement equivalent to this UPDATE. This statement is used for cache coherency and can only be provided if isUnique() is true.


Package org.objectweb.cjdbc.sql.schema

Class org.objectweb.cjdbc.sql.schema.AliasedDatabaseTable extends java.lang.Object implements Serializable

Serialized Fields

table

DatabaseTable table
Database table.


alias

java.lang.String alias
Alias name or null if no alias is defined.

Class org.objectweb.cjdbc.sql.schema.DatabaseColumn extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Column name.


isUnique

boolean isUnique
true if this column has a UNIQUE constraint (like primary keys for example).


type

int type
Type of the column (VARCHAR, TEXT, ...).

Class org.objectweb.cjdbc.sql.schema.DatabaseSchema extends java.lang.Object implements Serializable

Serialized Fields

tables

java.util.ArrayList tables
ArrayList of DatabaseTables.


procedures

java.util.ArrayList procedures
ArrayList of DatabaseProcedures.

Class org.objectweb.cjdbc.sql.schema.DatabaseTable extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Database table name.


columns

java.util.ArrayList columns
ArrayList of DatabaseColumn.


Package org.objectweb.cjdbc.util

Class org.objectweb.cjdbc.util.CJDBCException extends java.lang.Exception implements Serializable

Serialized Fields

cause

java.lang.Throwable cause
Optional exception cause

Class org.objectweb.cjdbc.util.RollbackException extends CJDBCException implements Serializable



Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.