FairCom.CtreeDb.Types
Class SESSION_TYPE

java.lang.Object
  extended by FairCom.CtreeDb.Types.SESSION_TYPE

public final class SESSION_TYPE
extends java.lang.Object


Field Summary
static int CTDB
          Allocate a new session making full usage of c-treeDB session and database dictionaries.
static int CTREE
          Allocate a new session for logon only.
static int SQL
          Allocate a new session for c-treeACE SQL processing.
 
Constructor Summary
SESSION_TYPE()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CTDB

public static final int CTDB
Allocate a new session making full usage of c-treeDB session and database dictionaries. With this session mode, a Session dictionary file must exist to perform a session logon and you must connect to a database before attempting to perform operation on tables.

See Also:
Constant Field Values

CTREE

public static final int CTREE
Allocate a new session for logon only. No session or database dictionary files will be used. No database functions can be used with this session mode. Allocate table handles using the session handle.

See Also:
Constant Field Values

SQL

public static final int SQL
Allocate a new session for c-treeACE SQL processing. This mode allows changes made at the c-treeDB level to be reflected at the c-treeACE SQL level without requiring an additional table import step; your tables are immediately available with the c-treeACE SQL interface. While this session type is available, limitations still exist. Support for alter table operations are not supported; CTTable.Alter() activities are NOT reflected in the c-treeACE SQL system tables.

See Also:
Constant Field Values
Constructor Detail

SESSION_TYPE

public SESSION_TYPE()