class PiggyBackedSessionData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private EngineConnection |
conn_ |
private int |
iso_ |
private boolean |
isoMod_ |
private java.lang.String |
schema_ |
private boolean |
schemaMod_ |
| Modifier | Constructor and Description |
|---|---|
private |
PiggyBackedSessionData(EngineConnection conn)
Constructs a new instance with an associated EngineConnection.
|
| Modifier and Type | Method and Description |
|---|---|
static PiggyBackedSessionData |
getInstance(PiggyBackedSessionData existing,
EngineConnection conn,
boolean createOnDemand)
Get a reference (handle) to the PiggyBackedSessionData object.
|
int |
getIso() |
java.lang.String |
getSchema() |
boolean |
isIsoModified() |
boolean |
isModified() |
boolean |
isSchemaModified() |
void |
refresh()
Refresh with the latest session attribute values from
the connection.
|
void |
setUnmodified()
Clear the modified status.
|
java.lang.String |
toString() |
private int iso_
private boolean isoMod_
private java.lang.String schema_
private boolean schemaMod_
private final EngineConnection conn_
private PiggyBackedSessionData(EngineConnection conn)
conn - the connection to obtain data frompublic static PiggyBackedSessionData getInstance(PiggyBackedSessionData existing, EngineConnection conn, boolean createOnDemand) throws java.sql.SQLException
existing - the PBSD object from the previous piggybacking or null if
none has yet taken placeconn - the current EngineConnectioncreateOnDemand - if true; create the instance when neededjava.sql.SQLExceptionpublic void refresh()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setUnmodified()
public boolean isIsoModified()
public boolean isSchemaModified()
public boolean isModified()
public int getIso()
public java.lang.String getSchema()
public java.lang.String toString()
toString in class java.lang.ObjectApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.