Module org.eclipse.persistence.core
Class CoreAbstractSession<DESCRIPTOR extends CoreDescriptor,LOGIN extends CoreLogin,PLATFORM extends CorePlatform,PROJECT extends CoreProject,SESSION_EVENT_MANAGER extends CoreSessionEventManager>
java.lang.Object
org.eclipse.persistence.internal.core.sessions.CoreAbstractSession<DESCRIPTOR,LOGIN,PLATFORM,PROJECT,SESSION_EVENT_MANAGER>
- All Implemented Interfaces:
CoreSession<DESCRIPTOR,
LOGIN, PLATFORM, PROJECT, SESSION_EVENT_MANAGER>
- Direct Known Subclasses:
AbstractSession
public abstract class CoreAbstractSession<DESCRIPTOR extends CoreDescriptor,LOGIN extends CoreLogin,PLATFORM extends CorePlatform,PROJECT extends CoreProject,SESSION_EVENT_MANAGER extends CoreSessionEventManager>
extends Object
implements CoreSession<DESCRIPTOR,LOGIN,PLATFORM,PROJECT,SESSION_EVENT_MANAGER>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract PLATFORM
INTERNAL: Return the database platform currently connected to.abstract Map
<Class<?>, DESCRIPTOR> ADVANCED: Return all registered descriptors.abstract PLATFORM
getPlatform
(Class<?> domainClass) INTERNAL: Return the database platform currently connected to for specified class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.core.sessions.CoreSession
getDatasourceLogin, getDescriptor, getDescriptor, getEventManager, getProject, setLogLevel
-
Constructor Details
-
CoreAbstractSession
protected CoreAbstractSession()Default constructor.
-
-
Method Details
-
getDatasourcePlatform
INTERNAL: Return the database platform currently connected to. The platform is used for database specific behavior.- Specified by:
getDatasourcePlatform
in interfaceCoreSession<DESCRIPTOR extends CoreDescriptor,
LOGIN extends CoreLogin, PLATFORM extends CorePlatform, PROJECT extends CoreProject, SESSION_EVENT_MANAGER extends CoreSessionEventManager>
-
getDescriptors
ADVANCED: Return all registered descriptors.- Specified by:
getDescriptors
in interfaceCoreSession<DESCRIPTOR extends CoreDescriptor,
LOGIN extends CoreLogin, PLATFORM extends CorePlatform, PROJECT extends CoreProject, SESSION_EVENT_MANAGER extends CoreSessionEventManager>
-
getPlatform
INTERNAL: Return the database platform currently connected to for specified class. The platform is used for database specific behavior.
-