| Modifier and Type | Field and Description |
|---|---|
| private final EngineConnection | |
| private int | |
| private boolean | |
| private String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private | PiggyBackedSessionData(EngineConnection
the connection to obtain data from conn)Constructs a new instance with an associated EngineConnection. |
| Modifier and Type | Method and Description |
|---|---|
| public static PiggyBackedSessionData | Returns: a reference to the PBSD object or nullthe PBSD object from the previous piggybacking or null if
none has yet taken place existing, EngineConnection the current EngineConnection conn, boolean if true; create the instance when needed createOnDemand)Get a reference (handle) to the PiggyBackedSessionData object. |
| public int | |
| public String | |
| public boolean | |
| public boolean | Returns: true if any piggy-backed session attribute was modified by the last call to fetchLatest
|
| public boolean | Returns: true if the current schema name was modified by the last call to fetchLatest
|
| public void | |
| public void | |
| public String |
| conn_ | back to summary |
|---|---|
| private final EngineConnection conn_ | |
| iso_ | back to summary |
|---|---|
| private int iso_ | |
| isoMod_ | back to summary |
|---|---|
| private boolean isoMod_ | |
| schema_ | back to summary |
|---|---|
| private String schema_ | |
| schemaMod_ | back to summary |
|---|---|
| private boolean schemaMod_ | |
| PiggyBackedSessionData | back to summary |
|---|---|
| private PiggyBackedSessionData(EngineConnection conn) Constructs a new instance with an associated EngineConnection. A newly constructed instance is invalid. refresh() must be called before the xModified() methods can be used.
| |
| getInstance | back to summary |
|---|---|
| public static PiggyBackedSessionData getInstance(PiggyBackedSessionData existing, EngineConnection conn, boolean createOnDemand) throws SQLException Get a reference (handle) to the PiggyBackedSessionData object. Null will be returned either if the conn argument is not valid, or if the createOnDemand argument is false and the existing argument is null.
| |
| getIso | back to summary |
|---|---|
public int getIso()
| |
| getSchema | back to summary |
|---|---|
public String getSchema()
| |
| isIsoModified | back to summary |
|---|---|
public boolean isIsoModified()
| |
| isModified | back to summary |
|---|---|
public boolean isModified()
| |
| isSchemaModified | back to summary |
|---|---|
public boolean isSchemaModified()
| |
| refresh | back to summary |
|---|---|
| public void refresh() throws SQLException Refresh with the latest session attribute values from the connection. Any changes will be reflected in the corresponding xModified() methods, until setUnmodified() is called. | |
| setUnmodified | back to summary |
|---|---|
| public void setUnmodified() Clear the modified status. Called after session attributes have been sent to the client so that the xModified methods will return false. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |