|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
MappingManager | Manages object saving and querying for Mapping wrapper. |
MappingSetManager | Manages object saving and querying for MappingSet wrapper. |
MapSessionManager | Class for Hibernate Session automatic management. |
RelationManager | Manages object saving and querying for Relation wrapper. |
Contains all necessary classes to manage the Hibernate Session connected to a map database.
To use this Hibernate Wrapper it is sufficient to access static methods of MapSessionManager
class.
Through this class is possible to access static fields representing entity managers or to retrieve an
Hibernate Session
built on the map
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.
MapSessionManager.msm
: MappingSetManager
reference, used to manage MappingSet
objects.MapSessionManager.rm
: RelationManager
reference, used to manage Relation
objects.
N.B.: Calling the save
method on the MappingSetManager
object will produce
a sequence of cascade events in order to save all the connected objects (in fact the full MappingSet
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 MapSessionManager
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 |