| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv volatile boolean | |
| pack-priv int | |
| pack-priv long | |
| pack-priv OrderedHashSet | |
| pack-priv long | |
| private Calendar | |
| private Calendar | |
| pack-priv HsqlProperties | |
| private final TimestampData | |
| private TimestampData | |
| public HsqlNameManager. | |
| private TimeData | |
| private TimestampData | |
| pack-priv long | |
| pack-priv TimeZone | |
| public Database | |
| private JDBCConnection | |
| private boolean | |
| private JDBCConnection | |
| pack-priv boolean | |
| private volatile boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv volatile boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public boolean | |
| pack-priv boolean | |
| pack-priv volatile boolean | |
| public CountUpDownLatch | |
| private TimeData | |
| private TimestampData | |
| public HsqlNameManager. | |
| pack-priv ParserCommand | |
| pack-priv Random | |
| public final int | |
| pack-priv volatile boolean | |
| pack-priv int | |
| private Grantee | |
| pack-priv HsqlArrayList | |
| pack-priv Scanner | |
| pack-priv long | |
| public SessionContext | |
| public SessionData | |
| private final long | |
| private int | |
| pack-priv int | |
| public int | |
| private final User | |
| pack-priv SimpleDateFormat | |
| pack-priv SimpleDateFormat | |
| public Object | |
| pack-priv HsqlDeque | |
| public StatementManager | |
| pack-priv long | |
| pack-priv OrderedHashSet | |
| pack-priv volatile boolean | |
| pack-priv Session. | |
| pack-priv final TimeZone | |
| pack-priv long | |
| pack-priv long | |
| private TimestampData | |
| pack-priv boolean | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv TypedComparator | |
| private User | |
| public OrderedHashSet | |
| public OrderedHashSet | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | Session(Database
the database to which this represents a connection db, User the initial user user, boolean the initial autocommit value autocommit, boolean the initial readonly value readonly, long the session identifier, as known to the database id, TimeZone the TimeZone zone)Constructs a new Session object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDeleteAction(Table
the table of the row table, PersistentStore store, Row the deleted row row, int[] changedColumns)Adds a delete action to the row and the transaction manager. |
| pack-priv void | |
| public void | |
| public Result | |
| pack-priv static void | |
| public void | |
| public Result | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | commit(boolean chain)
Implements org. Commits any uncommitted transaction this Session may have open |
| public Statement | |
| public Statement | |
| public BlobDataID | |
| public ClobDataID | |
| public void | |
| private void | |
| public synchronized Result | Returns: the result of executing the commandthe command to execute cmd)Implements org. Executes the command encapsulated by the cmd argument. |
| private Result | |
| public Result | |
| private Result | |
| public Result | |
| public Result | |
| private Result | Returns: the result of executing the statementRetrieves the result of inserting, updating or deleting a row from an updatable result. |
| public long | |
| public HsqlException[] | |
| public synchronized Object | |
| public Result | |
| public Calendar | |
| public Calendar | |
| public HsqlProperties | |
| public TypedComparator | |
| public TimestampData | |
| public synchronized TimestampData | |
| public HsqlNameManager. | |
| pack-priv synchronized TimeData | getCurrentTime()
Returns the current time, unchanged for the duration of the current execution unit (statement) |
| pack-priv synchronized TimestampData | getCurrentTimestamp()
Returns the current date/time, unchanged for the duration of the current execution unit (statement). |
| public Database | Returns: the Database object to which this Session is connectedRetrieves the Database instance to which this Session represents a connection. |
| public String | |
| public Grantee | |
| public long | Returns: the session identifier for this SessionImplements org. Retrieves the session identifier for this Session. |
| pack-priv JDBCConnection | Returns: internal connection.Retrieves an internal Connection object equivalent to the one that created this Session. |
| public String | |
| public synchronized int | |
| pack-priv static String | |
| public JDBCConnection | getJDBCConnection()
Implements org. Retrieves the external JDBC connection |
| public Number | |
| public HsqlException | |
| pack-priv synchronized TimeData | |
| pack-priv synchronized TimestampData | |
| pack-priv int | |
| public int | |
| public int | |
| public Grantee | |
| public HsqlArrayList | |
| public RowSetNavigatorClient | |
| public Scanner | |
| pack-priv HsqlNameManager. | getSchemaHsqlName(String name)
If schemaName is null, return the current schema name, else return the HsqlName object for the schema. |
| public String | |
| pack-priv String | |
| public Result | |
| pack-priv String | |
| public SimpleDateFormat | |
| pack-priv String | |
| public synchronized int | |
| public TimeZone | |
| pack-priv String | |
| public long | |
| public int | |
| pack-priv TimestampData | |
| public User | Returns: this Session's User objectRetrieves the User object representing the user currently controlling this Session. |
| public String | Returns: the name of the user currently connected within this SessionRetrieves the name, as known to the database, of the user currently controlling this Session. |
| public int | |
| private Result | |
| public boolean | |
| public synchronized boolean | Returns: the current valueImplements org. Getter for autoCommit attribute. |
| public boolean | Returns: true if this Session is closedImplements org. Retrieves whether this Session is closed. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public synchronized boolean | |
| pack-priv void | |
| pack-priv Result | |
| private Result | |
| public synchronized void | |
| public double | |
| public double | |
| public void | |
| pack-priv void | |
| public synchronized void | releaseSavepoint(String
name of savepoint name)Implements org. Releases a savepoint |
| private void | |
| pack-priv void | |
| public synchronized void | resetSession()
Implements org. Clear structures and reset variables to original. |
| public void | |
| public synchronized void | rollback(boolean chain)
Implements org. Rolls back any uncommitted transaction this Session may have open. |
| public synchronized void | |
| pack-priv synchronized void | |
| public synchronized void | rollbackToSavepoint(String
name of savepoint name)Implements org. Performs a partial transaction ROLLBACK to savepoint. |
| public synchronized void | |
| public synchronized void | savepoint(String
name of the savepoint name)Implements org. Registers a transaction SAVEPOINT. |
| public synchronized void | |
| public void | setAttributeFromResult(Result result)
Implements org. no-op, only for ClientConnection |
| private Result | |
| public synchronized void | setAutoCommit(boolean
the new value autocommit)Implements org. Setter for the autocommit attribute. |
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public void | |
| public void | |
| public synchronized void | |
| public void | setJDBCConnection(JDBCConnection connection)
Implements org.
|
| pack-priv void | |
| public void | |
| public void | |
| public synchronized void | |
| public void | |
| public void | |
| public void | |
| pack-priv void | setSQLMaxRows(int rows)
The SQL command SET MAXROWS n will override the Statement.setMaxRows(n) for the next direct statement only NB this is dedicated to the SET MAXROWS sql statement and should not otherwise be called. |
| public void | |
| public void | |
| public synchronized void | |
| public void |