Modifier and Type | Method and Description |
---|---|
Class |
ObjectChangeSet.getClassType(Session session)
ADVANCE:
This method returns the class type that this changeSet Represents.
|
Modifier and Type | Method and Description |
---|---|
Class |
MethodClassExtractor.extractClassFromRow(Record row,
Session session)
INTERNAL
Extract/compute the class from the database row and return the class.
|
abstract Class |
ClassExtractor.extractClassFromRow(Record databaseRow,
Session session)
Extract/compute the class from the database row and return the class.
|
void |
MethodClassExtractor.initialize(ClassDescriptor descriptor,
Session session)
INTERNAL:
Setup the default classExtractionMethod, or if one was specified by the user make sure it is valid.
|
void |
ClassExtractor.initialize(ClassDescriptor descriptor,
Session session)
Allow for any initialization.
|
Modifier and Type | Method and Description |
---|---|
Object |
CopyPolicy.buildClone(Object object,
Session session)
Return a shallow clone of the object for usage with object copying, or unit of work backup cloning.
|
abstract Object |
AbstractCopyPolicy.buildClone(Object domainObject,
Session session) |
Object |
InstantiationCopyPolicy.buildClone(Object domainObject,
Session session) |
Object |
CloneCopyPolicy.buildClone(Object domainObject,
Session session)
Clone through calling the clone method.
|
Object |
CopyPolicy.buildWorkingCopyClone(Object object,
Session session)
Return a shallow clone of the object for usage with the unit of work working copy.
|
Object |
AbstractCopyPolicy.buildWorkingCopyClone(Object domainObject,
Session session)
By default use the buildClone.
|
Object |
CloneCopyPolicy.buildWorkingCopyClone(Object domainObject,
Session session)
Clone through the workingCopyClone method, or if not specified the clone method.
|
void |
CopyPolicy.initialize(Session session)
Allow for any initialization or validation required.
|
void |
AbstractCopyPolicy.initialize(Session session)
Do nothing by default.
|
void |
CloneCopyPolicy.initialize(Session session)
Validate and build the methods.
|
Modifier and Type | Method and Description |
---|---|
Session |
EntityManager.getActiveSession()
This method returns the current session to the requestor.
|
Session |
EntityManager.getSession()
This method will return a Session outside of a transaction and null within a transaction.
|
Modifier and Type | Method and Description |
---|---|
static ValidationException |
ValidationException.cannotPersistExistingObject(Object registeredObject,
Session session) |
Modifier and Type | Class and Description |
---|---|
class |
RepeatableWriteUnitOfWork |
Modifier and Type | Method and Description |
---|---|
Session |
EntityManagerImpl.getActiveSession()
This method returns the current session to the requestor.
|
protected Session |
EJBQueryImpl.getActiveSession() |
Session |
EntityManagerImpl.getSession()
This method will return a Session outside of a transaction and null within a transaction.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Boolean flushOnExecute,
Session session)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Boolean flushOnExecute,
Session session,
ClassLoader classLoader)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Session session)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Session session,
HashMap hints)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String ejbql,
Session session,
HashMap hints,
ClassLoader classLoader)
Build a DatabaseQuery from an EJBQL string.
|
static DatabaseQuery |
EJBQueryImpl.buildEJBQLDatabaseQuery(String queryName,
String ejbql,
Boolean flushOnExecute,
Session session,
HashMap hints,
ClassLoader classLoader)
Build a DatabaseQuery from an EJBQL string.
|
protected static Object |
EntityManagerImpl.findInternal(ClassDescriptor descriptor,
Session session,
Object primaryKey)
Find by primary key.
|
Modifier and Type | Method and Description |
---|---|
Object |
ExpressionOperatorConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
Returns the corresponding attribute value for the specified field value.
|
Object |
ExpressionOperatorConverter.convertObjectValueToDataValue(Object attributeValue,
Session session)
INTERNAL:
Convert to the data value.
|
Constructor and Description |
---|
CustomObjectInputStream(InputStream stream,
Session session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession
Implementation of oracle.toplink.essentials.sessions.Session
The public interface should be used by public API and testing, the implementation should be used internally.
|
class |
DatabaseSessionImpl
Implementation of oracle.toplink.essentials.sessions.DatabaseSession
The public interface should be used by public API, the implementation should be used internally.
|
class |
IsolatedClientSession
Provides isolation support by allowing a client session
to have a local cache of the subset of the classes.
|
class |
UnitOfWorkImpl
Implementation of oracle.toplink.essentials.sessions.UnitOfWork
The public interface should be used by public API and testing, the implementation should be used internally.
|
Modifier and Type | Method and Description |
---|---|
Session |
AbstractSession.getActiveSession()
PUBLIC:
Return the active session for the current active external (JTS) transaction.
|
Modifier and Type | Method and Description |
---|---|
Class |
ObjectChangeSet.getClassType(Session session)
ADVANCE:
This method returns the class type that this changeSet Represents.
|
Modifier and Type | Field and Description |
---|---|
protected Session |
TransformerFactory.session |
protected Session |
TopLinkWeaver.session |
Modifier and Type | Method and Description |
---|---|
static ClassTransformer |
TransformerFactory.createTransformerAndModifyProject(Session session,
Collection entityClasses,
ClassLoader classLoader) |
Constructor and Description |
---|
TopLinkWeaver(Session session,
Map classDetailsMap) |
TransformerFactory(Session session,
Collection entityClasses,
ClassLoader classLoader) |
Modifier and Type | Field and Description |
---|---|
protected Session |
AbstractSessionLog.session
Represents the session that owns this SessionLog
|
Modifier and Type | Method and Description |
---|---|
Session |
SessionLog.getSession()
PUBLIC:
Get the session that owns this SessionLog.
|
Session |
AbstractSessionLog.getSession()
PUBLIC:
|
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractSessionLog.getSessionString(Session session)
Return the current session including the type and id.
|
void |
JavaLog.setSession(Session session)
PUBLIC:
|
void |
SessionLog.setSession(Session session)
PUBLIC:
Set the session that owns this SessionLog.
|
void |
AbstractSessionLog.setSession(Session session)
PUBLIC:
|
Modifier and Type | Method and Description |
---|---|
Object |
ClassInstanceConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
Convert the class name to a class, then create an instance of the class.
|
Object |
SerializedObjectConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
The fieldValue will be a byte array.
|
Object |
ObjectTypeConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
Returns the corresponding attribute value for the specified field value.
|
Object |
EnumTypeConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
Returns the corresponding attribute value for the specified field value.
|
Object |
Converter.convertDataValueToObjectValue(Object dataValue,
Session session)
PUBLIC:
Convert the databases' data representation of the value to the object's representation.
|
Object |
TypeConversionConverter.convertDataValueToObjectValue(Object fieldValue,
Session session)
INTERNAL:
The field value must first be converted to the field type, then the attribute type.
|
Object |
ClassInstanceConverter.convertObjectValueToDataValue(Object attributeValue,
Session session)
INTERNAL:
Convert to the field class.
|
Object |
SerializedObjectConverter.convertObjectValueToDataValue(Object attributeValue,
Session session)
INTERNAL:
Convert the object to a byte array through serialize.
|
Object |
ObjectTypeConverter.convertObjectValueToDataValue(Object attributeValue,
Session session)
INTERNAL:
Convert to the data value.
|
Object |
EnumTypeConverter.convertObjectValueToDataValue(Object attributeValue,
Session session)
INTERNAL:
Convert Enum object to the data value.
|
Object |
Converter.convertObjectValueToDataValue(Object objectValue,
Session session)
PUBLIC:
Convert the object's representation of the value to the databases' data representation.
|
Object |
TypeConversionConverter.convertObjectValueToDataValue(Object attributeValue,
Session session)
INTERNAL:
Convert to the field class.
|
void |
ClassInstanceConverter.initialize(DatabaseMapping mapping,
Session session)
INTERNAL:
Set the mapping.
|
void |
SerializedObjectConverter.initialize(DatabaseMapping mapping,
Session session)
INTERNAL:
Set the mapping.
|
void |
ObjectTypeConverter.initialize(DatabaseMapping mapping,
Session session)
INTERNAL:
Set the mapping.
|
void |
Converter.initialize(DatabaseMapping mapping,
Session session)
PUBLIC:
Allow for any initialization.
|
void |
TypeConversionConverter.initialize(DatabaseMapping mapping,
Session session)
INTERNAL:
Set the mapping.
|
void |
ObjectTypeConverter.initializeFieldClassification(Session session)
INTERNAL:
Set the field classification through searching the fields hashtable.
|
Modifier and Type | Method and Description |
---|---|
String |
DatabaseQuery.getTranslatedSQLString(Session session,
Record translationRow)
ADVANCED:
This can be used to access a queries translated SQL if they have been prepared, (i.e.
|
List |
DatabaseQuery.getTranslatedSQLStrings(Session session,
Record translationRow)
ADVANCED:
This can be used to access a queries translated SQL if they have been prepared, (i.e.
|
boolean |
ObjectLevelReadQuery.isLockQuery(Session session)
ADVANCED:
Answers if this query will issue any pessimistic locks.
|
void |
DatabaseQuery.prepareCall(Session session,
Record translationRow)
ADVANCED:
Pre-generate the call/SQL for the query.
|
DatabaseQuery |
EJBQLPlaceHolderQuery.processEjbQLQuery(Session session) |
Object |
ReportQueryResult.readObject(Class javaClass,
Session session)
PUBLIC:
If the PKs were retrieved with the attributes then this method can be used to read the real object from the database.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DatabaseSession
Purpose: Add login and configuration API to that of Session.
|
interface |
UnitOfWork
Purpose: To allow object level transactions.
|
Modifier and Type | Field and Description |
---|---|
protected Session |
SessionEventManager.session |
protected Session |
SessionEvent.session
The session or unit of work raising the event.
|
Modifier and Type | Method and Description |
---|---|
Session |
Session.getActiveSession()
PUBLIC:
Return the active session for the current active external (JTS) transaction.
|
Session |
SessionEventManager.getSession()
INTERNAL:
Get the session for this session event manager
|
Session |
SessionEvent.getSession()
PUBLIC:
The session in which the event is raised.
|
Modifier and Type | Method and Description |
---|---|
SessionEventManager |
SessionEventManager.clone(Session newSession)
INTERNAL:
|
void |
SessionEventManager.postLogin(Session session)
INTERNAL:
post login to the session.
|
void |
SessionEventManager.preLogin(Session session)
INTERNAL:
Pre login to the session.
|
void |
SessionEventManager.setSession(Session session)
INTERNAL:
Set the session for this session event manager
|
void |
SessionProfiler.setSession(Session session)
INTERNAL:
Set the sesssion.
|
void |
SessionEvent.setSession(Session session)
INTERNAL:
The session in which the event is raised.
|
Constructor and Description |
---|
SessionEvent(int eventCode,
Session session)
INTERNAL:
Create the event.
|
SessionEventManager(Session session)
PUBLIC:
Create a new session event manager for a session
|
Modifier and Type | Interface and Description |
---|---|
interface |
Server
Purpose: A single session that supports multiple user/clients connection at the same time.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientSession
Purpose: Acts as a client to the server session.
|
class |
ServerSession
Implementation of Server
INTERNAL:
The public interface should be used.
|
Modifier and Type | Method and Description |
---|---|
void |
PopulationManager.addAllObjectsForAbstractClass(Class objectsClass,
Session session,
Vector allObjects)
Add all of the objects of the class and all of its subclasses.
|
protected String |
TableCreator.getSequenceTableName(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
SessionCustomizer.customize(Session session) |
Modifier and Type | Method and Description |
---|---|
Session |
SessionManager.getDefaultSession()
PUBLIC:
Return the default session.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionManager.addSession(Session session)
INTERNAL:
add an named session to the hashtable.
|
void |
SessionManager.addSession(String sessionName,
Session session)
ADVANCED:
add an named session to the hashtable.
|
void |
SessionManager.setDefaultSession(Session defaultSession)
PUBLIC:
Set the default session.
|
Copyright © 2024. All rights reserved.