|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| DocumentManager | Manages object saving and querying for Document wrapper. |
| KCManager | Manages object saving and querying for KnowledgeChunk wrapper. |
| KCSessionManager | Class for Hibernate Session automatic management. |
| TypeManager | Manages object saving and querying for Type wrapper. |
Contains all necessary classes to manage the Hibernate Session connected to a kc database.
To use this Hibernate Wrapper it is sufficient to access static methods of KCSessionManager class.
Through this class is possible to access static fields representing entity managers or to retrieve an
Hibernate Session built on the KnowledgeChunk database definition.
Each one of the following fields is a reference to a singleton instance of class containing all available functions for a structure management.
KCSessionManager.kcm: KCManager
reference, used to manage KnowledgeChunk objects.KCSessionManager.dm: DocumentManager
reference, used to manage Document objects.KCSessionManager.tym: TypeManager
reference, used to manage Type objects.
N.B.: Calling the save method on the KCManager object will produce
a sequence of cascade events in order to save all the connected objects (in fact the full KnowledgeChunk
context) [TESTED].
Calling the save method on another object of this package will produce the saving of the object
and all his direct linked properties [NOT TESTED].
From KCSessionManager class of this package it is also possible to access a static function getSessionFactory
that will return an Hibernate session factory in order to grant the direct access to the Hibernate system.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||