public interface CoreSession<DESCRIPTOR extends CoreDescriptor,LOGIN extends CoreLogin,PLATFORM extends org.eclipse.persistence.internal.core.databaseaccess.CorePlatform,PROJECT extends CoreProject,SESSION_EVENT_MANAGER extends CoreSessionEventManager>
Modifier and Type | Method and Description |
---|---|
LOGIN |
getDatasourceLogin()
PUBLIC:
Return the login, the login holds any database connection information given.
|
PLATFORM |
getDatasourcePlatform()
PUBLIC:
Return the database platform currently connected to.
|
DESCRIPTOR |
getDescriptor(java.lang.Class theClass)
ADVANCED:
Return the descriptor specified for the class.
|
DESCRIPTOR |
getDescriptor(java.lang.Object domainObject)
ADVANCED:
Return the descriptor specified for the object's class.
|
java.util.Map<java.lang.Class,DESCRIPTOR> |
getDescriptors()
ADVANCED:
Return all registered descriptors.
|
SESSION_EVENT_MANAGER |
getEventManager()
PUBLIC:
Return the event manager.
|
PROJECT |
getProject()
PUBLIC:
Return the project.
|
void |
setLogLevel(int logLevel)
PUBLIC:
Set the log level.
|
LOGIN getDatasourceLogin()
PLATFORM getDatasourcePlatform()
DESCRIPTOR getDescriptor(java.lang.Class theClass)
DESCRIPTOR getDescriptor(java.lang.Object domainObject)
java.util.Map<java.lang.Class,DESCRIPTOR> getDescriptors()
SESSION_EVENT_MANAGER getEventManager()
PROJECT getProject()
void setLogLevel(int logLevel)