org.apache.derby.impl.sql.conn
Class SQLSessionContextImpl
java.lang.Object
org.apache.derby.impl.sql.conn.SQLSessionContextImpl
- All Implemented Interfaces:
- SQLSessionContext
public class SQLSessionContextImpl
- extends java.lang.Object
- implements SQLSessionContext
Method Summary |
SchemaDescriptor |
getDefaultSchema()
Get the schema of this SQL connection context |
java.lang.String |
getRole()
Get the SQL role of this SQL connection context |
void |
setDefaultSchema(SchemaDescriptor sd)
Set the schema of this SQL connection context |
void |
setRole(java.lang.String role)
Set the SQL role of this SQL connection context
The empty string is returned if role is NONE. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentRole
private java.lang.String currentRole
currentDefaultSchema
private SchemaDescriptor currentDefaultSchema
SQLSessionContextImpl
public SQLSessionContextImpl(SchemaDescriptor sd)
setRole
public void setRole(java.lang.String role)
- Description copied from interface:
SQLSessionContext
- Set the SQL role of this SQL connection context
The empty string is returned if role is NONE.
- Specified by:
setRole
in interface SQLSessionContext
getRole
public java.lang.String getRole()
- Description copied from interface:
SQLSessionContext
- Get the SQL role of this SQL connection context
- Specified by:
getRole
in interface SQLSessionContext
setDefaultSchema
public void setDefaultSchema(SchemaDescriptor sd)
- Description copied from interface:
SQLSessionContext
- Set the schema of this SQL connection context
- Specified by:
setDefaultSchema
in interface SQLSessionContext
getDefaultSchema
public SchemaDescriptor getDefaultSchema()
- Description copied from interface:
SQLSessionContext
- Get the schema of this SQL connection context
- Specified by:
getDefaultSchema
in interface SQLSessionContext
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.